SubChart Tool Addition TChart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
msureja
Newbie
Newbie
Posts: 6
Joined: Mon Sep 15, 2008 12:00 am

SubChart Tool Addition TChart

Post by msureja » Mon Apr 13, 2009 5:10 am

Hi,

I am using WPF TChart (V. 3.5.3146.24806).

I have tried to add subchart tool inside TChart but not succeed.
I have also gone through the WPF Sample provided by TChart but not found any subcharts in sample also.

Can we add subchart tool in TChat? If yes, please provide me some sample code for adding subchart tool inside TChart.

Can we do intraction with subchart tool? for eg. selection of subchart, zooming/panning in subchart, adding different tools inside subchart etc. as we do in chart.

Thanks & Regards,
Mitesh Sureja

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

Post by Narcís » Tue Apr 14, 2009 8:40 am

Hi Mitesh,
I have tried to add subchart tool inside TChart but not succeed.
I have also gone through the WPF Sample provided by TChart but not found any subcharts in sample also.
You'll find an example in the WPF demo searching for SubChartTool in the tools listbox. An example can also be found at What's New?\Welcome !\New Chart Tools\SubChart Tool in the features demo, available at TeeChart's program group.
Can we add subchart tool in TChat? If yes, please provide me some sample code for adding subchart tool inside TChart.
Yes, you can do this:

Code: Select all

			Steema.TeeChart.Tools.SubChartTool subChartTool1 = new Steema.TeeChart.Tools.SubChartTool(tChart1.Chart);
			Steema.TeeChart.TChart MyChart1 = subChartTool1.Charts.AddChart("Chart0");
Can we do intraction with subchart tool? for eg. selection of subchart, zooming/panning in subchart, adding different tools inside subchart etc. as we do in chart.
Yes, you can do the same as a standard chart.
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

msureja
Newbie
Newbie
Posts: 6
Joined: Mon Sep 15, 2008 12:00 am

SubChart Tool Addition TChart

Post by msureja » Tue Apr 14, 2009 12:17 pm

Hi Narcís,

Thanks for reply.
You'll find an example in the WPF demo searching for SubChartTool in the tools listbox. An example can also be found at What's New?\Welcome !\New Chart Tools\SubChart Tool in the features demo, available at TeeChart's program group.
I have gone throught WPF Demo sample, I found subcharttool in listbox but I don't found any subchart added in Chart.

I have tried your code to add subchart but still not succeed.
I have uploaded simple example named SubChartSample.zip using upload page link.

Please help me to add subcharts.

Thanks and regards,
Mitesh Sureja

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

Post by Narcís » Tue Apr 14, 2009 1:29 pm

Hi Mitesh,

It seems SubCharTool is not working fine in WPF. I've added the defect (TW16014083) to the bug list to be fixed for next releases.
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