jQuery UI Widgets Forums Chart Strange curved line in spline.

This topic contains 6 replies, has 3 voices, and was last updated by  Peter Stoev 9 years, 2 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Strange curved line in spline. #61048

    PiDome
    Participant

    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.

    Weird curve

    • This topic was modified 9 years, 4 months ago by  PiDome.
    Strange curved line in spline. #61075

    Dimitar
    Participant

    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,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Strange curved line in spline. #61086

    PiDome
    Participant

    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

    curve

    • This reply was modified 9 years, 4 months ago by  PiDome.
    Strange curved line in spline. #61090

    Dimitar
    Participant

    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,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Strange curved line in spline. #61121

    PiDome
    Participant

    Hi Dimitar,

    Thank you for your answer, too bad though.

    John.

    Strange curved line in spline. #61247

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Strange curved line in spline. #64140

    Peter Stoev
    Keymaster

    Update: Issue is Fixed in jQWidgets 3.6.0

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.