You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When producing a boxplot chart with multi-line legends (using text arrays), the bottom of the legend is trimmed when there are numerous columns in the chart.
To Reproduce
In my example, I have 11 columns, of which 4 are multi-line and the legend is trimmed. When I only have 5 columns, the legend is not trimmed. I have experimented with manually adjusting the chart's height and width and this does not resolve the issue. If I manually adjust the chart height after it has been generated, however, the legends are shown correctly.
Because the data is proprietary, I am using legend text that has the same number of characters, but not exactly the same text. I don't imagine this should matter.
The chart legend is displayed correctly with the following data:
Describe the bug
When producing a boxplot chart with multi-line legends (using text arrays), the bottom of the legend is trimmed when there are numerous columns in the chart.
To Reproduce
In my example, I have 11 columns, of which 4 are multi-line and the legend is trimmed. When I only have 5 columns, the legend is not trimmed. I have experimented with manually adjusting the chart's height and width and this does not resolve the issue. If I manually adjust the chart height after it has been generated, however, the legends are shown correctly.
Using the options:
Because the data is proprietary, I am using legend text that has the same number of characters, but not exactly the same text. I don't imagine this should matter.
The chart legend is displayed correctly with the following data:
[[["Uuuuuu", " Innnnnnnn"], [12, 12, 12, 12, 12]],
[["FFFFFF-DD"], [13, 13, 13, 14, 14]],
[["VVVVVVVVVVVV"], [13, 13, 13, 13, 13]],
[["TTTTTTTTTT-DD"], [11, 11, 12, 13, 13]],
[["OOOOOOOOOOO", " HHHH"], [10, 10, 12, 13, 13]]]
The chart legend is chopped when using the following data:
[[["HHHHHH"], [9, 9, 11, 12, 12]],
[["UUUUUU", " Innnnnnnn"], [9, 9, 10, 12, 12]],
[["FFFFFF-DD"], [12, 12, 13, 14, 14]],
[["VVVVVVVVVVVV"], [11, 11, 12, 13, 13]],
[["TTTTTTTTTT-DD"], [9, 9, 11, 12, 12]],
[["TTTTT.", "& Vvvvvvv"], [11, 11, 11, 11, 11]],
[["Gggggggggg", " & Sss."], [11, 11, 11, 11, 11]],
[["Bbbbbbb"], [11, 11, 11, 11, 11]],
[["Oooooooooo", " Hhhh"], [11, 11, 13, 14, 14]],
[["Uuuuuu Dd"], [10, 10, 11, 12, 12]]]
The chart is generated with the statement:
box_plot_chart(@chart_data, @boxplot_options)
Expected behavior
All chart legends are clearly visible
Screenshots

Correctly displayed legend
Chopped legend

Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: