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 - TColorGridseries draws an horizontal grid line incorrectly
Summary: TColorGridseries draws an horizontal grid line incorrectly
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-12-12 06:47 EST by yeray alonso
Modified: 2017-03-17 05:19 EDT (History)
0 users

See Also:
Chart Series: ColorGrid
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-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;