jQuery UI Widgets Forums Chart Line chart

This topic contains 2 replies, has 3 voices, and was last updated by  EdwardJones 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Line chart Posts
  • Line chart #111798

    antrax13
    Participant

    Hi I am just wondering if there is an option to set line chart with dashed line.

    Next question is just wondering if my implementation is going to be correct or there is a simpler approach.

    I have a line chart and after Today day I would like to predict values.

    I need to split this line into to possible predictions.

    So for example
    [Date: 1/1/2020, Value: 100],
    [Date: 2/1/2020, Value: 101],
    [Date: 3/1/2020, Value: 102],
    [Date: 4/1/2020, Value: 120],
    I need to predict 3 days in future as today is 4th of January so I would like to split this line based on below data
    [Date: 5/1/2020, Min: 100, Max: 120],
    [Date: 6/1/2020, Min: 110, Max: 125],
    [Date: 7/1/2020, Min: 120, Max: 150],

    There is probably not an easy way so I am assuming I will have to start a 2 new lines from 5/1/2020
    1st for min values
    2nd for max values

    But I was just wondering if there is any easier way.

    Line chart #111814

    Hristo
    Participant

    Hello antrax13,

    That I would like to suggest you is to use three datafields for the seriesGroups property.
    The first one will show the default values and the next two series the Min and the Max” values.
    Please, take a look at this example with one different approach:
    http://jsfiddle.net/e7thcw62/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.