Page 1 of 1

Access the chart from polar series

Posted: Mon Feb 16, 2009 2:09 pm
by 13051032
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

Posted: Mon Feb 16, 2009 2:43 pm
by narcis
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!