Jump to content

UniChart Series Title Değiştirme


sertacb

Recommended Posts

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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; 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...