on 10-18-2021 2:27 PM
Hello, I am using the VizFrame with a custom renderer for the dataLabel.
How can I make the label into two lines?
I have the following code:
dataLabel: {
visible: true,
type: "value",
showTotal: true,
renderer: function (oEvent) {
oEvent.text = "Some Text";
}
}
}
}
},
And this works, but how could I display this in two lines? I tired inserting line breaks into the string but that does not work:
oEvent.text = "Some \r\n Text"
or
oEvent.text = "Some \u000d\u000a Text"
I also tried to set the oEvent.text to a FormattedText field with HTML but that also does not work.
Is there any way to do this? Thanks
load the text from i18n file, it may help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.