Change chart on button click, Mashups and widgets
I have a simple question. I have 3 buttons and I want each button to display a different set of data in a line chart when they are clicked. The previous line chart is replaced but the new button's data. So, if data1 button is clicked, data1 shows in line chart, if data2 button is clicked, data2 shows in line chart and so on. The problem I am having is the line chart can only have one dataset bind to it. I can change the click bind for each button but it doesn't change the fact that the line chart can only have one bind.
The red is what I think I am trying to get this to do if possible.

