Home › forums › Using CanvasJS › title have mutiple line
I need all of you help me. How can I make title of chart has many line?
You can have only one title to the chart as of now. Instead you can use multiple subtitles.
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.
Since subtitles is an array, using it as chart.options.subtitles.verticalAlign = "center"; should work fine.
chart.options.subtitles.verticalAlign = "center";
I’m sorry brother I can’t use it so example me in jsfiddle please…
Please have a look at this jsfiddle.
wow…wonderful! Thank you so much brother :)
You must be logged in to reply to this topic.