rlakinski Posted August 15, 2011 Share Posted August 15, 2011 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, Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 15, 2011 Administrators Share Posted August 15, 2011 Series can't be created at runtime, but you can modify data of an existing Series. Quote Link to comment Share on other sites More sharing options...
rlakinski Posted August 15, 2011 Author Share Posted August 15, 2011 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, Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 17, 2011 Administrators Share Posted August 17, 2011 Series color is automatically selected by Flash chart component. As far as I know title can't be changed at runtime. When we switch to Ext JS 4 and non-flash charts there will be more options. 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.