Hi.
How can I change the serie title of a chart in run time?
Tested on bar series, but don't work. The title doesn't change, is allways the title defined at design time.
Thanks.
Can you try this approach for now?
1.
uses ... uniStrUtils;
2. procedure SetTitle(AUniBarSeries: TUniBarSeries; ATitle: string);
procedure TMainForm.SetTitle(AUniBarSeries: TUniBarSeries; ATitle: string);
var
I: Integer;
Titles: string;
begin
if (ATitle<>'')and(AUniBarSeries.Title<>ATitle) then
begin
AUniBarSeries.Title := ATitle;
for I := 0 to AUniBarSeries.Parent.SeriesList.Count-1 do
Titles := Titles + '"' + (AUniBarSeries.Parent.SeriesList[I