Home › forums › Using CanvasJS › Dynamic adding elements
This topic contains 1 reply, has 2 voices, and was last updated by Sunil Urs 5 years ago.
After a chart is rendered, is it possible to dynamically add elements such as a index label, a marker …?
I know I could modify the json object and render the chart again, but I would prefer avoid it.
I’m looking for something like:
char.addMarkerForPoint(x, y, markerInfo);
Thanks in advance,
As of now modifying the options (JSON) is the only way to update the chart.
You must be logged in to reply to this topic.