Line chart with no connecting lines for missing Y data?
Posted: Thu May 10, 2007 2:21 pm
I'm using TeeChart Pro 7 VCL with D2005 and trying to figure out how to avoid connecting lines when there are gaps in the data charted on a line series chart. For example - consider this data:
X Y
5 1
10 2
15 3
20
25 4
30 5
If using Excel to plot this data no line will connect the Y values 3 & 4 at X values 15 & 25, because there is a missing Y value at X value 20. I can't duplicate this in TeeChart. I've tried editing the data but it doesn't allow an empty value for any Y that has a corresponding X.
Of course a scatter chart type works but then there are no connecting lines anywhere.
Any ideas if or how this can be done in TeeChart?
Thanks!
Alex
X Y
5 1
10 2
15 3
20
25 4
30 5
If using Excel to plot this data no line will connect the Y values 3 & 4 at X values 15 & 25, because there is a missing Y value at X value 20. I can't duplicate this in TeeChart. I've tried editing the data but it doesn't allow an empty value for any Y that has a corresponding X.
Of course a scatter chart type works but then there are no connecting lines anywhere.
Any ideas if or how this can be done in TeeChart?
Thanks!
Alex