Steema Issues Database

Note: 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.



Bug 344 - [TW16016722] If you works with SubChartTool in WPF and you do double Click in the ...
Summary: [TW16016722] If you works with SubChartTool in WPF and you do double Click in...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: WPF (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 13:19 EDT by sandra pazos
Modified: 2014-05-15 11:23 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2013-11-20 11:24:43 EST
If you works with SubChartTool in WPF and you do double Click in the SubChart appears an exception that break the program. The problem is produced in the SubChartTool method FireOnMouseDown as is shown in the attached image. 
The next code reproduce the problem exactly: 
        public MainWindow()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.WPF.Tools.SubChartTool subChartTool1; 
        private void InitializeChart()
        {
          FastLine fastLine1 = new FastLine(tChart1.Chart);
          subChartTool1 = new Steema.TeeChart.WPF.Tools.SubChartTool(tChart1.Chart); 
          subChartTool1.Charts.AddChart("Chart1");
          subChartTool1.Charts[0].Chart.Series.Add(new Steema.TeeChart.WPF.Styles.Line());
          subChartTool1.Charts[0].Chart[0].FillSampleValues();
          tChart1.Aspect.View3D = false;
          tChart1.Header.Font.Bold = true;
          tChart1.Header.Font.Size = 15;
          fastLine1.FillSampleValues();
          fastLine1.LinePen.Width = 1; 
}
The problem only occurs in WPF. 
 [created:2013-09-18T12:19:52.000+01:00 reported by:sandra@steema.com reported in version:]