Dynamic Data Binding
Posted: Mon Oct 31, 2005 6:07 pm
I'm looking for some ideas or suggestions about creating dynamic data binding for a chart. For example, consider this scenario. The user opens a database view (in a DataTable) that contains several columns of data for the last X weeks. The user creates a Chart that contains three line series (each series corresponds to a different column in the view). They then set series color, point style, axis, header, footer, etc. Now they want to save the chart. Next week, they want to open the chart and have it automatically use the current data (i.e. the view will now contain the current weeks worth of data). They do not want to redo the chart.
Thoughts:
- saving the .ten with data will save a "static" copy of the data, so re-opening the .ten will not show the current data on the graph ...
- if I save the .ten without data, then i'll have to re-create the series with the new DataTable, but then I will need to know what columns were used to create each series, so that information will need to be stored somewhere ...
Any other ideas or suggestions?
Thoughts:
- saving the .ten with data will save a "static" copy of the data, so re-opening the .ten will not show the current data on the graph ...
- if I save the .ten without data, then i'll have to re-create the series with the new DataTable, but then I will need to know what columns were used to create each series, so that information will need to be stored somewhere ...
Any other ideas or suggestions?