![]() | 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: | NearestPoint tool considers Null points as valid points | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Tools | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | TeeChart for .Net 4.1.2017.10196 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
NearestPoint tool highlights Null points as if they were visible. Here a simple example: tChart1.Aspect.View3D = false; tChart1.Legend.Visible = false; FastLine fast1 = new FastLine(tChart1.Chart); for (int i = 0; i < 2000; i++) { if (i == 1000) fast1.Add(i, 200, Color.Transparent); else fast1.Add(i, 100); } fast1.TreatNulls = TreatNullsStyle.DoNotPaint; tChart1.Axes.Bottom.SetMinMax(0, 2000); tChart1.Axes.Left.SetMinMax(0, 300); NearestPoint nearest1 = new NearestPoint(tChart1.Chart); nearest1.Brush.Color = Color.Transparent; nearest1.Pen.Color = Color.Red; nearest1.Series = fast1; Same bug in TeeChart Java: http://bugs.teechart.net/show_bug.cgi?id=1999