Export to XAML Bug. Series doesn't intersect by visible area

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 15
Joined: Fri Jun 17, 2011 12:00 am

Export to XAML Bug. Series doesn't intersect by visible area

Post by neurosoft » Tue Aug 09, 2011 9:25 am

Hello Steema!
We have some problems with exporting WPF TChart to XAML again. Just try to execute the following code:

Code: Select all

            var MyTChart = new TChart();
            MyTChart.Aspect.View3D = false;
            MyTChart.Width = 400;
            MyTChart.Height = 300;
            MyTChart.Axes.Left.SetMinMax(0, 5);
            Bar bar = new Bar();
            bar.Add(10);
            bar.Marks.Visible = false;
            MyTChart.Series.Add(bar);
            Microsoft.Win32.SaveFileDialog saveDialog = new Microsoft.Win32.SaveFileDialog();
            if (saveDialog.ShowDialog() == true)
            {
                MyTChart.Export.Image.XAML.Save(saveDialog.FileName);
            }
As you see, source TChart Bar (and other Series too) is out of visible area in exported XAML:
Source:
IntersectSeriesSource.jpg
IntersectSeriesSource.jpg (19.71 KiB) Viewed 3580 times
Exported:
IntersectSeriesExport.jpg
IntersectSeriesExport.jpg (20.75 KiB) Viewed 3563 times

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

Re: Export to XAML Bug. Series doesn't intersect by visible area

Post by Sandra » Tue Aug 09, 2011 1:59 pm

Hello neurosoft,

You are right. I have added your request in bug list report with number [TW16015691]. We will try to fix it in next maintenance releases of TeeChart.Net.

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