Access the chart from polar series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Access the chart from polar series

Post by asupriya » Mon Feb 16, 2009 2:09 pm

I have a Steema.TeeChart.Styles.Polar type series dynamically assigned to a chart. I need to access the associated chart from this series. How can i do it?

I tried the following, but it doesn't seem to work.

Code: Select all

dim myPolar as Steema.TeeChart.Styles.Polar
myTChart = myPolar.chart
Please suggest something

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Feb 16, 2009 2:43 pm

Hi asupriya,

You can use this:

Code: Select all

			tChart1.Chart = line1.Chart;
or this:

Code: Select all

			tChart1 = ((Steema.TeeChart.TChart)line1.Chart.Parent);
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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply