TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
neurosoft
- Newbie
- Posts: 12
- Joined: Mon Jun 04, 2012 12:00 am
Post
by neurosoft » Mon Jun 18, 2012 9:46 am
Hi Steema people!
We have the same bug, that was described in topic
http://www.teechart.net/support/viewtop ... =4&t=12550, with Line and FastLine series in WPF TeeChart.
The following code reproduces the problem:
Code: Select all
MyTChart.Aspect.View3D = false;
MyTChart.Width = 300;
MyTChart.Height = 200;
Steema.TeeChart.WPF.Styles.Line line = new Steema.TeeChart.WPF.Styles.Line();
line.Add(0);
line.Add(1000);
line.Add(0);
MyTChart.Series.Add(line);
MyTChart.Axes.Left.Maximum = 200;
MyTChart.Axes.Left.AutomaticMaximum = false;
and then
Code: Select all
Microsoft.Win32.SaveFileDialog saveDialog = new Microsoft.Win32.SaveFileDialog();
if (saveDialog.ShowDialog() == true)
MyTChart.Export.Image.XAML.Save(saveDialog.FileName);
As you can see, the source TChart and the XAML TChart version are different. XAML is wrong (Line is out of bounds).
- source TChart
- TChartLine.jpg (27.24 KiB) Viewed 4175 times
- Exported to XAML
- TChartExportLine.jpg (30.52 KiB) Viewed 4166 times
-
Sandra
- Site Admin
- Posts: 3132
- Joined: Fri Nov 07, 2008 12:00 am
Post
by Sandra » Mon Jun 18, 2012 3:23 pm
Hello neurosoft,
Thanks for your information. I have added it as bug with number [TW16016225]. We will try to fix it for next maintenance releases of TeeChartWPF.
Thanks,