Home forums Using CanvasJS Non-breaking spaces in title and/or legend?

This topic contains 1 reply, has 1 voice, and was last updated by  grat 1 year, 4 months ago.

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

    grat
    Member

    Is it possible to make the course title and/or the legend text non-breaking text? I’ve been trying to include but it doesn’t seem to be working. The result is “Legend String” and “Doughnut Title” gets put on my doughnut chart:

    var reviewsData = [
    { y: courses_reviewed, legendText: Legend String}
    ];

    renderMyChart(trackingContainer, trackingData, “Doughnut Title”);

    Here’s a JFIDDLE demonstrating the above: http://jsfiddle.net/gratiafide/n6r5gsqq/2/

    Thanks in advance for your help.

    #9168

    grat
    Member

    I learned the answer to my question is to use: \xA0 instead of  

    see http://jsfiddle.net/9mbhsmv6/

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

You must be logged in to reply to this topic.