i try'd like this:
with your code, that i found here :
procedure TMainForm.UniButton2Click(Sender: TObject);
var st:string;
begin
st:='''Red'',''Yellow'',''Green''';
with UniChart3.JSInterface do
begin
JSAssign('chart.colors', [JSArray(['green','yellow','red'])]);
JSCall('chart.refresh', []);
end;
end;
will not work.
but if this work, thats enough for me, i will try to repaint the chart with the correct colors then retroactively.