Area and HighLow series not drawn
Posted: Wed Nov 23, 2011 12:28 pm
Hello,
We recently upgraded to RAD Studio XE2 with TeeChart Pro 2011 for RAD XE2 (currently 32bit) and stumbled upon a bug(?): when adding an Area or a HighLow series to a graph, and setting the horizontal axis to show only a small portion between two points, the series is not drawn.
For example: if we define a normal, empty, 2d graph with a single TAreaSeries and add two data points to it: (-10000000,100) and (10000000,100) the series is drawn correctly, but if we set the bottom axis to show only the range [0..100] (rather than being automatic) the series vanishes. BTW, if we zoom in and out on an area that should be covered by the TAreaSeries's background, sometimes it reappears and sometimes it doesn't.
I know for a fact that the code worked on TeeChart 8.6 even when the edge points where defined at -MAX_DOUBLE, MAX_DOUBLE.
The reason this is a problem for us is that we use these series to display min and max borders for our graph (that look nice even when it's panned left or right). And no, we cannot use a color band because the borders are not always horizontal or even straight.
Is there some fix or workaround for this problem?
Best regards,
Shahar
We recently upgraded to RAD Studio XE2 with TeeChart Pro 2011 for RAD XE2 (currently 32bit) and stumbled upon a bug(?): when adding an Area or a HighLow series to a graph, and setting the horizontal axis to show only a small portion between two points, the series is not drawn.
For example: if we define a normal, empty, 2d graph with a single TAreaSeries and add two data points to it: (-10000000,100) and (10000000,100) the series is drawn correctly, but if we set the bottom axis to show only the range [0..100] (rather than being automatic) the series vanishes. BTW, if we zoom in and out on an area that should be covered by the TAreaSeries's background, sometimes it reappears and sometimes it doesn't.
I know for a fact that the code worked on TeeChart 8.6 even when the edge points where defined at -MAX_DOUBLE, MAX_DOUBLE.
The reason this is a problem for us is that we use these series to display min and max borders for our graph (that look nice even when it's panned left or right). And no, we cannot use a color band because the borders are not always horizontal or even straight.
Is there some fix or workaround for this problem?
Best regards,
Shahar