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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...