Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Andry

    (@blackstar1991)

    I also try &#10 or \n but it dosen’t work too.

    Plugin Author methnen

    (@methnen)

    Those are line breaks. Not hyphenations.

    And there isn’t a way.

    I mentioned in another thread that SVG and Canvas text handling is atrocious. And this is an example of that playing out.

    To create a new line of text in Canvas or SVG you actually have to create a separate text object and then position below the previous line of text.

    I convinced the Chart.js developers to add the subtitle functionality specifically to provide a way to somewhat deal with the issue. Thus why I recommended reformatting your titles to provide a shorter main title with longer/additional info in the subtitle field.

    Thread Starter Andry

    (@blackstar1991)

    I see, so there is no simple solution to this problem?

    Plugin Author methnen

    (@methnen)

    Correct.

    At least as far as I know.

    • This reply was modified 2 months, 1 week ago by methnen.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.