How to determine the data visible in the chart
Posted: Thu Dec 11, 2008 1:22 pm
Hello,
i've already searched the forums but could not find a hint on this, so here's my question:
I'm adding several Steema.TeeChart.Styles.Line Series to the TChart control via the method public int Add(DateTime x, double y);
The user can freely pan and zoom in the tchart control that displays the data.
I'd like to know the earliest and latest visible dataset. So i can add
a header to the chart like "Data from yymmdd to yymmdd"
this is important for printing the chart, since sometimes the chart only displays the time of the datasets without the date
How can i achieve this?
It would be okay for me if i scan through the data in Series and can
somehow determine whether the dataset is visible.
Regards
Klaus
i've already searched the forums but could not find a hint on this, so here's my question:
I'm adding several Steema.TeeChart.Styles.Line Series to the TChart control via the method public int Add(DateTime x, double y);
The user can freely pan and zoom in the tchart control that displays the data.
I'd like to know the earliest and latest visible dataset. So i can add
a header to the chart like "Data from yymmdd to yymmdd"
this is important for printing the chart, since sometimes the chart only displays the time of the datasets without the date
How can i achieve this?
It would be okay for me if i scan through the data in Series and can
somehow determine whether the dataset is visible.
Regards
Klaus