![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | XAML exportation of Histogram in WPF has broken | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | christopher ireland <chris> |
| Component: | WPF | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | regression | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Using this code: public MainWindow() { InitializeComponent(); MyTChart.CurrentTheme = ThemeType.None; MyTChart.Width = 400; MyTChart.Height = 300; MyTChart.Axes.Left.SetMinMax(0, 10); MyTChart.Axes.Bottom.SetMinMax(0, 10); series = new Histogram(); series.FillSampleValues(100); MyTChart.Series.Add(series); } public Histogram series; private void Button_Click(object sender, RoutedEventArgs e) { Steema.TeeChart.WPF.Export.XAMLFormat xaml = MyTChart.Export.Image.XAML; MemoryStream ms = new MemoryStream(); xaml.Save(ms); ms.Position = 0; object exportedXaml = XamlReader.Load(ms); } works as expected in TeeChartforNET_4.1.2015.03110, but throws an exception in the current version.