Home forums Using CanvasJS title have mutiple line

Tagged: 

This topic contains 6 replies, has 2 voices, and was last updated by  rayateng 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17601

    rayateng
    Member

    Dear, all

    I need all of you help me. How can I make title of chart has many line?

    Example:
    Dynamic Graphic
    About Datapoints

    Best regard,
    Raya

    • This topic was modified 1 month ago by  rayateng.
    #17606

    Suyash Singh
    Moderator

    @rayateng,

    You can have only one title to the chart as of now. Instead you can use multiple subtitles.

    ___
    Suyash Singh
    Team CanvasJS

    #17607

    rayateng
    Member

    Thank you so much for answer quickly :) I got it. But if I use like this code ” chart.options.subtitles.verticalAlign = “center”; ” it doesn’t working and if I want to use Title and subtitles in the same verticalAlign: center, it can’t too. Please help me because I want to use this two title on center.

    #17608

    Suyash Singh
    Moderator

    @rayateng,

    Since subtitles is an array, using it as chart.options.subtitles[0].verticalAlign = "center"; should work fine.

    ___
    Suyash Singh
    Team CanvasJS

    #17610

    rayateng
    Member

    I’m sorry brother I can’t use it so example me in jsfiddle please…

    #17623

    Suyash Singh
    Moderator

    @rayateng,

    Please have a look at this jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

    #17626

    rayateng
    Member

    wow…wonderful! Thank you so much brother :)

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

You must be logged in to reply to this topic.