Delete Series Event
Posted: Mon Oct 25, 2004 1:49 pm
Hi,
I'm aware that there's no such event in TChart. All I need to know is what series (indexes) are left after deletion. I tried to use but it showed incorrect indexes. Example, I was having three series with indexes 0,1,2. After I deleted serie 1, it showed two series left with indexes 0 and 1. But it should be 0,2.
At least if I open Chart Editor it displays there Series<b>0</b> and Series<b>2</b>, while in OnSeriesAfterDrawValuesTchart it says indexes <b>0</b> and <b>1</b>
I'm using VC++ 6.0 and ActiveX 6
Please, let me know how I can achieve this. Thank you in advance.
Michael.
I'm aware that there's no such event in TChart. All I need to know is what series (indexes) are left after deletion. I tried to use
Code: Select all
OnSeriesAfterDrawValuesTchart(long SeriesIndex)
At least if I open Chart Editor it displays there Series<b>0</b> and Series<b>2</b>, while in OnSeriesAfterDrawValuesTchart it says indexes <b>0</b> and <b>1</b>
I'm using VC++ 6.0 and ActiveX 6
Please, let me know how I can achieve this. Thank you in advance.
Michael.