![]() | 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: | CalcClickedPart throws expection when use Bar Chart and the type is Cone/Pyramid | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Sunil Ramesh <sunil.ramesh> |
| Component: | Chart | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | chris |
| Priority: | --- | ||
| Version: | TeeChart for .Net 4.1.2016.05125 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Steps to reproduce 1. Create a Bar Chart with sample data 2. Set the type of the Bar to Cone/Pyramid 3. In the TChart_MouseDoubleClick event add the below line tChart1.Chart.CalcClickedPart(e.Location); throws the below exception System.IndexOutOfRangeException: Index was outside the bounds of the array. at Steema.TeeChart.Styles.Bar.InternalClicked(Int32 valueIndex, Point point) at Steema.TeeChart.Styles.CustomBar.Clicked(Int32 x, Int32 y) at Steema.TeeChart.Styles.Series.Clicked(Point p) at Steema.TeeChart.Chart.CalcNeedClickedPart(Point Pos, Boolean Needed) at Steema.TeeChart.Chart.CalcClickedPart(Point Pos) at DataGenic.Gdm.Extensibility.DataCharts.ShowSettings(TChart control, Point location) in F:\Products\Gdm5\Libraries\GdmDataCharts\DataCharts.Settings.cs:line 34 at GdmDataChartsIde.Form1.tChart1_MouseDoubleClick(Object sender, MouseEventArgs e) in F:\Products\Gdm5\Libraries\GdmDataCharts\Ide\Form1.cs:line 61 at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)