Home forums Using CanvasJS Dynamic adding elements

This topic contains 1 reply, has 2 voices, and was last updated by  Sunil Urs 2 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5587

    pepesso
    Participant

    Hi!

    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:

    chart.render();

    char.addMarkerForPoint(x, y, markerInfo);

    Thanks in advance,
    Pepe

    #5593

    Sunil Urs
    Keymaster

    Pepe,

    As of now modifying the options (JSON) is the only way to update the chart.


    Sunil

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.