Documentation for the ai-Chart component. Renders a chart as an SVG using the data that is produced from the data-function or downloaded from the data-src URL. Data arrives as an array of objects that have keys that match the parsed series attribute and values to chart. Each index of the array is a series that is plotted on it's own.
type: 'bar' describes a bar chart, 'line' describes a line chart.data-function: a globally defined function that when called produces data that this element will render. If the function starts with a*then the funciton is a generator function and will need to have.next()called until it ends. The data format