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 1065 - Contour series StartColor and EndColor can not be assigned
Summary: Contour series StartColor and EndColor can not be assigned
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 140220
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://stackoverflow.com/questions/27...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 10:20 EST by narcís calvet
Modified: 2014-12-29 10:52 EST (History)
1 user (show)

See Also:
Chart Series: Contour
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 narcís calvet 2014-12-29 10:20:11 EST
I need to copy StartColor and EndColor of series1 to series2 This was working before upgrating TeeChart to version 2014.12.14 :

procedure TForm1.FormCreate(Sender: TObject);
var
  k1, k2 : Integer;
  X, Y, Z: real;
begin

  Series2.Clear;
  Series2.NumXValues := 20;
  Series2.NumZValues := 20;
  Series2.ColorEachPoint := false;
  Series2.Filled := true;
  Series2.Marks.Visible := true;
  Series2.AutomaticLevels := true;
  Series2.IrregularGrid := true;

  Series2.StartColor := clYellow;
  Series2.EndColor := clRed;

  for k1 := 1 to 20 do
  begin
      X:= k1 + 1;
      for k2 := 1 to 20 do
      begin
          Y := k2 + 1;
          Z := k1 / 10 + k2 / 10;
          Series2.AddXYZ(X, Z, Y);
      end;
  end;

  Series1.Assign(Series2);
  Series1.StartColor := series2.StartColor;
  Series1.EndColor := series2.EndColor;
end;

It seems that these two instructions have no effects:

Series1.StartColor := series2.StartColor;
Series1.EndColor := series2.EndColor;

The last version where it worked was Build 2013.09.131119.