![]() | 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: | MouseDoubleClick event breaks the TeeChart PNG exportation in Windows XP | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | WPF | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chris |
| Priority: | Low | ||
| Version: | TeeChart.NET 2013 4.1.2013.11080 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://teechart.net/directline/viewtopic.php?f=6&t=889&p=4254#p4254 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Could not reproduce this using TeeChart.WPF.dll v.4.1.2013.11081 on WinXP SP3. This issue could be caused by a FocusVisualAdorner added in double-byte WinXP but not any other: "Rather, it is the child of a special adorner (FocusVisualAdorner) that is dynamically created by the keyboard navigation manager." http://brucezhou1986.wordpress.com/page/4/ check for this type seems to have resolved the problem. |
When you work with WPF application and try to export the Chart to png image format, if you call export in the MouseDobleClick appears an exception. This problem occurs if you use MouseDobleClick in Windows XP. See next code to reproduce the problem: public MainWindow() { InitializeComponent(); InitializeChart(); } private void InitializeChart() { Steema.TeeChart.WPF.Styles.Line line1 = new Steema.TeeChart.WPF.Styles.Line(tChart1.Chart); line1.FillSampleValues(); tChart1.MouseDoubleClick += new MouseButtonEventHandler(tChart1_MouseDoubleClick); } void tChart1_MouseDoubleClick(object sender, MouseButtonEventArgs e) { tChart1.Export.Image.PNG.Save("C:\\Test.png"); }