Focal Point
[CLOSED] Graph BarChart Legend Labels Truncating

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1517069296

March 26, 2020, 11:47 AM
Starr
[CLOSED] Graph BarChart Legend Labels Truncating
I am creating a stacked bar chart and the legend is positioned to the right of the chart. The legend is truncating and I'm trying to find JSON (*GRAPH_JS) that will stop the truncating. If text is too long I'd prefer it to wrap. Currently I'm INCLUDING a company stylesheet with hopes that I can overwrite the truncating. I've tried a number of things to no avail. Can anyone share some insight on this as I am not very familiar with JSON. The output is PDF. Thanks in advance for your help. Please see code I've tried below:

1)
*GRAPH_JS
"legend": {
"labels": {
"truncate": false,
"wrap": true
}
}
*END

2)
*GRAPH_JS
"legend": {
"itemContainers": {
"tooltipText": "{category}"
}
}
*END

3)
*GRAPH_JS
"legend": {
"labels": {
"maxWidth": 150,
"truncate": true
}
}
*END

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8206
Exl2k
March 31, 2020, 11:26 AM
FP Mod Chuck
Starr

Since no one was able to help please open a case with techsupport if you haven't already.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
April 01, 2020, 07:27 AM
dbeagan
It seems like the answer was already provided in a previous post:
[SOLVED]Legend text cut-off


WebFOCUS 8.2.06