I need support for "missing/or wrong" values. I have a bunch of measurements, which also contain erroneous data, so I just don't want to display those - there should be **no connections between those dots**. Ideally I would also have some way to visualize that (red background for instance).
The basic problem is that SWTChart expects all data to be given as an array of double values, so there is no chance of supplying those. I see possibly three variants of dealing with this:
1.) keeping the double[], but having a way of specifying a threshold at which the value is regarded as erroneous
2.) possibility to set the values as a Double[], which may contain null values
3.) possibility to specify values as an array of a specific interface which may contain methods as getValue(), isValid(), ...
Maybe I wasn't clear in the description, what I actually need are maybe two different things.
1.) I may have values which are invalid, (Double.isInfinite(value) || Double.isNaN(value)), in bot cases the chart does the wrong thing. Those shouldn't be considered at all (so no point/line on the graph)
2.) I may have values which are just out of range, so I would need a way that adjustRange() ignores values above/below this level
hmm.. I also need this feature. Is there any progress for this ?