The next chart is really different from all the other charts. Up till now we added the data using chart-column elements. In a lot of situations this is fine, but what if the data is dynamic of nature. Than we want to load the data using an angular controller. That is what this sample does. after clicking the button we generate 10 additional datapoints. Also the chart-columns are taken from a scope parameter. This is all taken care of using the attributes: chart-data, chart-columns and chart-x.

Generate data