Home Forums Report Bugs line graph bug?

line graph bug?

Viewing 2 posts - 1 through 2 (of 2 total)
  • #6770

    Hi,

    I’m currently trying out this JS but i have a stange problem.
    I can’t seem to get a straight line.
    The graph image provided is a different starting value for all graphs but all have a increment of 1 per x-axis value, yet the line goes up and down. (I included both axis in the img to provide a more clear picture)
    line_graph
    the points for the orange line are :
    0 – 35
    1 – 36
    2 – 37
    3 – 38
    4 – 39
    5 – 40
    6 – 41
    7 – 42
    8 – 43
    9 – 44
    10 – 45
    11 – 46
    12 – 47
    Did i miss something ?

    thnx in advance.

    Gr. Rajah

    #6781

    Rajah,

    I just had a look into it. These slight variations are due to fractional values that we get while calculating data-point’s pixel position. Doesn’t look like it can be avoided.


    Sunil Urs

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

You must be logged in to reply to this topic.