![]() | 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 exception | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Sunil Ramesh <sunil.ramesh> |
| Component: | Chart | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | major | CC: | chris |
| Priority: | High | ||
| Version: | TeeChart for .Net 4.1.2016.05125 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
Sunil Ramesh
2017-04-18 06:12:47 EDT
Cannot reproduce in the head revision using the following code:
private void InitializeChart()
{
Line series = new Line(tChart1.Chart);
series.FillSampleValues();
tChart1.Tools.Add(typeof(Rotate));
tChart1.MouseDown += TChart1_MouseDown;
}
private void TChart1_MouseDown(object sender, MouseEventArgs e)
{
ChartClickedPart part = tChart1.Chart.CalcClickedPart(e.Location);
tChart1.Header.Text = part.Part.ToString();
}
|