Dynamically Add/Remove series displayed on a chart
Hi,
I wish to find out the ways to dynamically generate the series for a time-series chart based on the user selection.
Example scenario as below:
1. There are multiple check-boxes (A,B,C,D,E,F) available for user. And user can check multiple check-boxes at a same time.
2. Then, only the selected series shall be displayed on the time-series chart. (Will use Check-box 'Changed' event to trigger the 'redraw').
3. All data will be pulled from a single data stream, with each row will contain data for all series (A,B,C,D,E,F) as defined in the datashape.
May I know what is the best way to achieve this required functionality?
Is it possible to generate a new infotable from the queried datastream result, & the new infotable will be using a dynamically defined datashape (datashape generated in run time based on user selection of checkbox), then feed the new infotable to the time-series chart?
Any guidance is much appreciated.
Thanks!

