How to get the first and last data index in chart?
How to get the first and last data index in chart?
Hi, after zooming in the display, I would like to get the first and last data index shown in the chart. Would anyone please tell me how to do it with sample codes? Thanks.
Re: How to get the first and last data index in chart?
Hi David,
Once you have the chart drawn, you can get the first and last indexes drawn in a series with:
Once you have the chart drawn, you can get the first and last indexes drawn in a series with:
Code: Select all
TChart1.Series(0).FirstValueIndex
TChart1.Series(0).LastValueIndex
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |