Home › forums › Using CanvasJS › Stacked Column with Dynamic Data
Tagged: dynamic, stackedColumn
How can i create a stacked column chart with dynamic data?
For example, i have a JSON object like:
id : ‘ID123’,
id : ‘ID456’,
Where there would be two stacked columns using the id as the label and the array of occurrences is used to build the stacked column?
Note: the JSON object is external.
You can loop through the JSON data and parse it to the format accepted by CanvasJS as shown in this JSFiddle.
You must be logged in to reply to this topic.