sertacb Posted October 15, 2019 Share Posted October 15, 2019 Merhaba, Unichart serisinin title değerini runtimeda aşağıdaki kodu kullanarak değiştimek istiyorum ancak olmuyor. Runtimeda title değerini nasıl değiştirebilirim? series1.Title:='Deneme'; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2019 Share Posted October 16, 2019 9 hours ago, sertacb said: Unichart serisinin title değerini runtimeda aşağıdaki kodu kullanarak değiştimek istiyorum ancak olmuyor. Runtimeda title değerini nasıl değiştirebilirim? Merhaba, Can you please specify which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
sertacb Posted October 16, 2019 Author Share Posted October 16, 2019 I'm using UniGui Complete Professional Edition 1.90.0.1511. I fixed my problem with this code; chartSeries := Series1; with UniChart1, chartSeries do begin JSInterface.JSCall('chart.getSeries()['+ IntToStr(SeriesList.IndexOf(chartSeries)) +'].setTitle', [Title]) end; But i have another problem. I want to make a serie unvisible, how can i do that? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2019 Share Posted October 16, 2019 6 minutes ago, sertacb said: I'm using UniGui Complete Professional Edition 1.90.0.1511 First of all please adjust your forum email address: Quote Link to comment Share on other sites More sharing options...
sertacb Posted October 16, 2019 Author Share Posted October 16, 2019 I did it. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2019 Share Posted October 16, 2019 7 minutes ago, sertacb said: I did it. Thank you for the update. 31 minutes ago, sertacb said: But i have another problem. I want to make a serie unvisible, how can i do that? Can you please explain in more detail? Quote Link to comment Share on other sites More sharing options...
sertacb Posted October 16, 2019 Author Share Posted October 16, 2019 I want to make a serie unvisible in the legend. I'm trying it with this code but no changes affect; UniChart1.JSInterface.JSCall('chart.getSeries()[1].setShowInLegend',[False]); Quote Link to comment Share on other sites More sharing options...
sertacb Posted October 16, 2019 Author Share Posted October 16, 2019 Additional problem; Below code is working with UniLineSeries but not working with UniBarSeries chartSeries := Series1; with UniChart1, chartSeries do begin JSInterface.JSCall('chart.getSeries()['+ IntToStr(SeriesList.IndexOf(chartSeries)) +'].setTitle', [Title]) end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2019 Share Posted October 16, 2019 1 minute ago, sertacb said: chart.getSeries()['+ IntToStr(SeriesList.IndexOf(chartSeries)) +'] I think, preferably avoid using such codes. Please provide descriptions of your issues. Also you can open tickets in the support portal: http://unigui.com/support/support-portal 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.