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

Summary: [TW16016722] If you works with SubChartTool in WPF and you do double Click in the ...
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: WPFAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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:]