Home forums Using CanvasJS Fetch canvas title text

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 4 weeks ago.

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

    Tejal
    Member

    Helllo Canvas js team,

    https://jsfiddle.net/cwmx4azj/1/

    In above snippet How can I fetch the title text of canvas by using canvas container id?

    Thanks,
    Tejal

    #23862

    Indranil Deo
    Member

    Tejal,

    Sorry as of now it is not possible to access the title/chart options through the canvas container id. Instead, you can use the following code snippets chart.title.text to access the title text through the chart object. Please take a look at this updated jsfiddle.

    ____________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.