Hello,
I am using Visual Studio 2008 (Visual Basic).
I have add a TChart to my projekt (TChart .net 2009)
I have got a "FastLine" series. In my project I clone this series:
Tchart1.series(0).clone
So far, so good...
Now I would like to the the click_series event.
If I click on a series, the event will be in action, but how can I get the selected series index ?
In AXTchart there was a coding like this: Tchart.series(e.seriesindex)
Thank you for your help.
Jochen
How to get the selected series ?
Re: How to get the selected series ?
sample code on C#
Code: Select all
private void line_Click(object sender, MouseEventArgs e)
{
Steema.TeeChart.Styles.Line line = sender as Steema.TeeChart.Styles.Line;
int i = line.Chart.Series.IndexOf(line);
}
Re: How to get the selected series ?
Sorry, but how is the code in visual basic ?
Thank you
Jochen
Thank you
Jochen
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: How to get the selected series ?
Hi Jochen,
You can try using any of those conversors:
http://www.carlosag.net/Tools/CodeTranslator/
http://converter.telerik.com/
http://www.developerfusion.com/tools/co ... arp-to-vb/
Hope this helps!
You can try using any of those conversors:
http://www.carlosag.net/Tools/CodeTranslator/
http://converter.telerik.com/
http://www.developerfusion.com/tools/co ... arp-to-vb/
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |