![]() | 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: | tnIgnore TreatNulls draws the line segments in white | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | CC: | bert.kreisel, tjarrault |
| Priority: | --- | ||
| Version: | 22.170619 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16727 | ||
| Chart Series: | Line | Delphi / C++ Builder RAD IDE Version: | |
When having TreatNulls as tnIgnore, the segments drawn before null point are drawn, but they are drawn in white. Also, when there are two consecutive null points, the first pointer is also drawn in white. procedure TForm1.FormCreate(Sender: TObject); var i: Integer; begin Chart1.View3D:=False; Chart1.Legend.Visible:=False; Chart1.Color:=clGrayText; Chart1.Gradient.Visible:=False; Chart1.Walls.Visible:=False; Chart1.Axes.Left.Grid.Visible:=False; Chart1.Axes.Bottom.Grid.Visible:=False; with Chart1.AddSeries(TLineSeries) as TLineSeries do begin Pointer.Visible:=True; TreatNulls:=tnIgnore; for i:=0 to 8 do if (i=2) or (i=3) or (i=6) then AddNull(10) else Add(5); end; Chart1.Axes.Left.SetMinMax(0,15); end;