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 1716

Summary: TColorGridseries draws an horizontal grid line incorrectly
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 20.170306   
Target Milestone: v2017.20   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=16359
Chart Series: ColorGrid Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2016-12-12 06:47:21 EST
If your TColorGridSeries has more z values than x values, the horizontal lines for the cells on the top aren't drawn.
Ie:

uses TeeSurfa;

var Series1: TColorGridSeries;

procedure TForm1.FormCreate(Sender: TObject);
var x, z: Integer;
begin
  Chart1.View3D:=False;

  Series1:=Chart1.AddSeries(TColorGridSeries) as TColorGridSeries;
  for x:=0 to 4 do
    for z:=0 to 7 do
      Series1.AddXYZ(x,x+z,z);
end;