rlakinski Posted August 15, 2011 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
Administrators Farshad Mohajeri Posted August 15, 2011 Administrators Posted August 15, 2011 Series can't be created at runtime, but you can modify data of an existing Series. Quote
rlakinski Posted August 15, 2011 Author 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
Administrators Farshad Mohajeri Posted August 17, 2011 Administrators 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
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.