alice123 Posted August 23, 2021 Share Posted August 23, 2021 3 hours ago, Sherzod said: This code is for this purpose. Have you tested? 3. procedure TMainForm.Set_Colors(L:Tstrings); begin with UniChart1.JSInterface do begin L.Delimiter:=','; JSCode(#1'.chart.colors="' + L.DelimitedText + '".split(",");'); JSCode(#1'.chart.series[0].setRenderer();'); JSCode(#1'.chart.series[0].setRenderer('#1'.chart.refill);'); end; end; Tested, right now. Doesnt work. Quote Link to comment Share on other sites More sharing options...
alice123 Posted August 23, 2021 Share Posted August 23, 2021 @Sherzod try'd it in different variants, non will work: L.Delimiter:=','; JSCode(#1'.chart.colors="' + L.DelimitedText + '".split(",");'); JSCode(#1'.chart.series[0].setRenderer();'); JSCode(#1'.chart.series[0].setRenderer('#1'.chart.refill);'); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 23, 2021 Share Posted August 23, 2021 I will try to check on the latest versions. 1 Quote Link to comment Share on other sites More sharing options...
alice123 Posted August 23, 2021 Share Posted August 23, 2021 4 hours ago, Sherzod said: I will try to check on the latest versions. Great ! Thank you. This is quite important for us to see. Please notify me for this if possible. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.