child chart Location cannot be set for TeeChart.WPF
Posted: Wed Jun 25, 2014 9:21 am
I want to create more child chart, please look at the code:
Steema.TeeChart.WPF.TChart child = new Steema.TeeChart.WPF.TChart();
child.Chart.ChartRect.Location = new Point(100, 50); // invalid
child.Chart.ChartRect.X = 100; // invalid
child.Chart.ChartRect.Y = 50; // invalid
child.Width = 500; // valid
child.Height = 250; // valid
tChart1.Children.Add(child);
Child charts will overlap, why child chart' ChartRect.Location cannot be set? It's always Point(0,0).
this is a BUG?
I'm working environment is: VS2010(.NET Framework 4.0) / Windows7
Steema.TeeChart.WPF.TChart child = new Steema.TeeChart.WPF.TChart();
child.Chart.ChartRect.Location = new Point(100, 50); // invalid
child.Chart.ChartRect.X = 100; // invalid
child.Chart.ChartRect.Y = 50; // invalid
child.Width = 500; // valid
child.Height = 250; // valid
tChart1.Children.Add(child);
Child charts will overlap, why child chart' ChartRect.Location cannot be set? It's always Point(0,0).
this is a BUG?
I'm working environment is: VS2010(.NET Framework 4.0) / Windows7