Export to XAML Bug. Series doesn't intersect by visible area
Posted: 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:
As you see, source TChart Bar (and other Series too) is out of visible area in exported XAML:
Source: Exported:
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);
}
Source: Exported: