Leading Null with PointLabel trashes x-axis
Posted: Thu Nov 25, 2004 6:09 am
I've got Teechart 6.0.0.5. I plot my data using a line series with timestamps on the X-axis. When I encounter some null data in my source, I use AddNullXY with some explanatory text as the 3rd parameter, i.e.
Series(0).AddNullXY datestamp, value, "errorText"
Sometimes my data STARTS with a null. When I plot such data, the entire X-axis scale disappears! I see my label text near the origin of the X axis, but the X-axis scale is completely blank apart from that.
The line draws normally, I just have no timestamps along the X-axis.
Some investigation has shown that this corruption is caused by the label being passed to the AddNullXY method. I.e. if my initial AddNullXY call contains an empty string as the 3rd parameter, then the X-axis scale is drawn correctly.
Omitting the label is not an option. Can Steema help here?
Series(0).AddNullXY datestamp, value, "errorText"
Sometimes my data STARTS with a null. When I plot such data, the entire X-axis scale disappears! I see my label text near the origin of the X axis, but the X-axis scale is completely blank apart from that.
The line draws normally, I just have no timestamps along the X-axis.
Some investigation has shown that this corruption is caused by the label being passed to the AddNullXY method. I.e. if my initial AddNullXY call contains an empty string as the 3rd parameter, then the X-axis scale is drawn correctly.
Omitting the label is not an option. Can Steema help here?