Page 1 of 1

changing color back to black does not stick

Posted: Thu Apr 01, 2010 1:30 am
by 10546565
I made the color of the left axis line red--then tried to set it to black but it won't stick. Other colors work fine but black (bottom-left color in color grid) will not stick. (Left Axis, Ticks tab, Axis, Color dialog)

Re: changing color back to black does not stick

Posted: Thu Apr 01, 2010 7:58 am
by narcis
Hi TestAlways,

I could reproduce this and added the defect to the bug list (TV52014770) to be fixed. This is quite strange :shock:. It works fine at runtime too:

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.AddSeries(TLineSeries.Create(Self));
  Chart1[0].FillSampleValues;

  Chart1.Axes.Left.Axis.Color:=clRed;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  Chart1.Axes.Left.Axis.Color:=clBlack;
end;

Re: changing color back to black does not stick

Posted: Thu Apr 01, 2010 3:03 pm
by 10546565
I can change it in the Object Inspector as well. Just not the designer.

Ed

Re: changing color back to black does not stick

Posted: Mon May 10, 2010 1:46 pm
by narcis
Hi Ed,

This was a bug with TButtonColor component which I fixed for next maintenance release.