You must be logged in to post your query.
Home › Forums › Report Bugs › line graph bug?
Tagged: line graph
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) 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
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
You must be logged in to reply to this topic. Login/Register