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 2112 - Null points sometimes drawn in FastLine with TreatNulls=tnDontPaint
Summary: Null points sometimes drawn in FastLine with TreatNulls=tnDontPaint
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 25.180808
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on: 2006
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-15 04:33 EDT by yeray alonso
Modified: 2018-10-15 04:43 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2018-10-15 04:33:42 EDT
The fix for #2006 seems to create this issue


uses Series, TeeConst;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Caption:=TeeMsg_Version;
  Chart1.Legend.Hide;
  Chart1.View3D:=False;

  with Chart1.AddSeries(TFastLineSeries) as TFastLineSeries do
  begin
    for i:=0 to 19 do
      if i=10 then
        AddNull(5)
      else
        Add(10);

    TreatNulls:=tnDontPaint;
  end;

  Chart1.Axes.Left.SetMinMax(0,15);
end;