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 1681 - Null points in histogram series are drawn
Summary: Null points in histogram series are drawn
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 20.170306
Hardware: PC Windows
: --- enhancement
Target Milestone: v2017.20
Assignee: yeray alonso
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 10:35 EST by yeray alonso
Modified: 2017-03-17 05:19 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 2016-11-10 10:35:27 EST
In the following code we are adding a null point in the center, but it's still drawn, in white:

uses StatChar;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Chart1.View3D:=false;
  Chart1.Legend.Visible:=false;

  with Chart1.AddSeries(THistogramSeries) as THistogramSeries do
  begin
    Add(10);

    for i:=0 to 5 do
      Add(YValue[Count-1]+1);

    AddNull(YValue[Count-1]+1);

    for i:=0 to 5 do
      Add(YValue[Count-1]-1);
  end;
end;