Home Forums Chart Support Add/remove series dynamically.

Add/remove series dynamically.

Viewing 3 posts - 1 through 3 (of 3 total)
  • #6533

    Hi building a demo dashboard using the latest CanvasJs. Looking through the docs i don’t see how you add or remove a series dynamically. Is this possible?

    Thanks

    #6536

    Yes, you can add dataSeries dynamically. You just need to created a new dataSeries object and add it to the data array.

    Here is an example.


    Sunil Urs

    #6729

    Thanks!

    Figured it out right after I wrote this :)

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

You must be logged in to reply to this topic.