You must be logged in to post your query.
Home › Forums › Chart Support › 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’, occurrences: [5,6,8] }, { id : ‘ID456’, occurrences: [7,2,12] } ]
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.
@1alexritchie1,
You can loop through the JSON data and parse it to the format accepted by CanvasJS as shown in this JSFiddle.
___________ Indranil Deo Team CanvasJS
You must be logged in to reply to this topic. Login/Register