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 1210

Summary: Changing Legend.Items[0].Font doesn't work
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: LegendAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: High    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2015-05-15 09:14:28 EDT
The Hover functionality has broken this (introduced in v2014.12.140923).
The text can be modified but modifying the font color does nothing:

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

  for i:=0 to 4 do
    Chart1.AddSeries(TLineSeries).FillSampleValues();

  Chart1.Draw;

  Chart1.Legend.Item[2].Font.Color:=clRed;
  Chart1.Legend.Item[2].Text:='hello';
end;