Line/FastLine to XAML Bug

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 12
Joined: Mon Jun 04, 2012 12:00 am

Line/FastLine to XAML Bug

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).
TChartLine.jpg
source TChart
TChartLine.jpg (27.24 KiB) Viewed 4163 times
TChartExportLine.jpg
Exported to XAML
TChartExportLine.jpg (30.52 KiB) Viewed 4154 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Line/FastLine to XAML Bug

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,
Best Regards,
Sandra Pazos / 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