jQuery UI Widgets › Forums › Chart › Strange curved line in spline.
Tagged: approximate, approximation, chart, jqxChart, series, spline, type
This topic contains 6 replies, has 3 voices, and was last updated by Peter Stoev 9 years, 2 months ago.
I have upgraded to the latest jqwidgets, but since then i got strange lines in spline graphs, Is there a new parameter added i’m missing? It seems like that the curves are getting quite elastic.
The below example shows 4 points which are directly following up marked with a blue arrow. It is correct time based because this device has been disabled for approximate half an hour.
Could you, please, provide us with an example code and data (preferably at JSFiddle) we can test locally to determine the source of this issue. As you can see from the demo Spline Series, this type of series renders correctly with version 3.5.0.
I have a jsfiddle ready at: http://jsfiddle.net/z06c7m1c/4/
I just removed a piece from the series i had recently to “mimic” a data gap. Normally this data is loaded by an url, hence the strange “fake” parameters, i replaced it with a local var.
Just in case it is a browser issue, this is how the fiddle looks in chrome
This is a normal behaviour for spline series due to the approximating algorithm that is used. You may try using line series to avoid this approximation.
Thank you for your answer, too bad though.
We’ll do our best to improve this algorithm for the next chart version. Yes, it can be improved and we will do it, as we always want to be the best.
Update: Issue is Fixed in jQWidgets 3.6.0
You must be logged in to reply to this topic.