Skip to content

Series label data clipped when too long #3596

Answered by rtpHarry
rtpHarry asked this question in Q&A
Discussion options

You must be logged in to vote

OK I found a solution for this one. You can put the label into an array and that splits it over multiple lines.

I found the answer here:

#1683 (comment)

So, big thanks to @junedchhipa for posting this snippet!

It's a messy special-case scenario now, but it works for what I need:

  switch(x) {
    case "Fittings Furnishings And Equipment":
      x = ["Fittings Furnishings", "And Equipment"];
      break;
    case "Prefabricated Buildings And Building Units":
      x = ["Prefabricated Buildings", "And Building Units"];
      break;
    case "Main Contractors Preliminaries":
      x = ["Main Contractors", "Preliminaries"];
      break;
    case "Main Contractors Overheads And Profit":
      x =

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rtpHarry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant