Y axis label control - unable to find/use APIs
Posted: Wed Aug 25, 2004 7:47 pm
It seems this should be easy but I've been thru the tutorials, sample code and this forum and still can not figure it out. Warning: newbie at teechart.
Problem: We present performance data in tabular form and now with teechart have provided some simple graphs (area, bar, line and scatter).
Using TCustomSeries, TAreaSeries, and TBarSeries.
When the data is an elapsed time we convert milliseconds to a format:
d-hh:mm:ss:millisec where days could be anywhere from 1 to 1000. When we put this into a chart using AddXY() we have control over the label for the X axis but I also need to control it for the Y. It seems I should use OnGetAxisLabel() for this but I don't see how to associate the label with the Y data value. I can post existing code as needed but it's extremely basic (from all the sample stuff I've seen).
Thanks in advance!
Problem: We present performance data in tabular form and now with teechart have provided some simple graphs (area, bar, line and scatter).
Using TCustomSeries, TAreaSeries, and TBarSeries.
When the data is an elapsed time we convert milliseconds to a format:
d-hh:mm:ss:millisec where days could be anywhere from 1 to 1000. When we put this into a chart using AddXY() we have control over the label for the X axis but I also need to control it for the Y. It seems I should use OnGetAxisLabel() for this but I don't see how to associate the label with the Y data value. I can post existing code as needed but it's extremely basic (from all the sample stuff I've seen).
Thanks in advance!