Hi
I'm not able to change legend of tunichart that describe a tuinlineseries at design time.
in before show seem working (series.title:='dummy';) but i need to change the legend frequently on click button.
tnks
Hi,
Can you open a ticket in support portal ?
You can try this approach for now:
procedure TMainForm.UniButton2Click(Sender: TObject);
var
chartSeries: TUniLineSeries;
begin
chartSeries := Series1;
with UniChart1, chartSeries do
begin
chartSeries.Title := 'New title';
JSInterface.JSCall('chart.getSeries()['+ IntToStr(SeriesList.IndexOf(chartSeries)) +'].setTitle', [Title])
end;
end;