Jump to content

TUniChart question


rlakinski
 Share

Recommended Posts

Hi,

 

I'm testing TUniChart component and trying to implement multiple series (TUniLineSeries) at runtime.

 

I tried to set parentChart property but without success. (AV error appears in both modes).

 

Here is simplified version of my code:

 

Series := TUniLineSeries.Create(myChart);

Series.Name := 'S1';

Series.Title := Series.Name;

Series.ParentChart := TCustomAxisPanel(myChart); // without casting a compile error is being raised

 

 

any help?

Thanks,

Link to comment
Share on other sites

Series can't be created at runtime, but you can modify data of an existing Series.

 

 

Can you at least implement Title property change at runtime ?

It seems it's not working in web mode (I tried this on TUniLineSeries).

 

I also need to change series color at runtime.

 

Thanks,

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.

 Share

×
×
  • Create New...