Page 1 of 1

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

Posted: Tue Aug 09, 2011 9:25 am
by 15659641
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 3581 times
Exported:
IntersectSeriesExport.jpg
IntersectSeriesExport.jpg (20.75 KiB) Viewed 3564 times

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

Posted: Tue Aug 09, 2011 1:59 pm
by 10050769
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,