Changes between Initial Version and Version 1 of Ticket #6812, comment 5


Ignore:
Timestamp:
Sep 24, 2011, 3:31:56 PM (10 years ago)
Author:
cjolif
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6812, comment 5

    initial v1  
    11For the line chart as this is the subject of this ticket. I see two different behaviors depending on how you specify your data.
    22
    3 * If data are specified by indexed array [0, 5, null, 6, 1 ...] the behavior is a gap in the line (as suggested by the reporter). This is a behavior that make sense even if you might want a different one (i.e interpolate).
    4 * If data are specified by objects array [ { x: 0, y : 0}, {x: 1, y: 5}, {x: 2: y: null}, {x: 3...} ..] then the behavior is that the chart is going down to 0 on the missing data point. If y is not null but missing then the chart is not displayed at all. This is not really what one one expect.
     3* If data are specified by indexed array [0, 5, null, 6, 1 ...] the behavior is a gap in the line (this is  the behavior the reporter wanted, and apparently this is here now). This is a behavior that make sense even if you might want a different one (i.e interpolate).
     4* If data are specified by objects array [ { x: 0, y : 0}, {x: 1, y: 5}, {x: 2: y: null}, {x: 3...} ..] then the behavior is that the chart is going down to 0 on the missing data point. If y is not null but missing then the chart is not displayed at all. This is not really what one would expect.
    55
    66I think we should provide consistent behavior whatever is the way the data are specified. with 2 options: either gap or interpolation.