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 11 years, 5 months ago.
-
Author
-
Hi all,
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.

Hello PiDome,
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.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi Dimitar,
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

Hi PiDome,
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.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi Dimitar,
Thank you for your answer, too bad though.
John.
Hello guys,
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.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Update: Issue is Fixed in jQWidgets 3.6.0
-
AuthorPosts
You must be logged in to reply to this topic.