Versions Compared
Version | Old Version 4 | New Version 5 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Class graphomate.ui.ExtendedNumberFormat
extends sap.ui.core.Element
Quick Start
Creates a number format definition that can be used for example in the aggregations "extendedNumberFormat" and "extendedNumberFormatPercent" of a graphomate.ui.charts.Chart. It will be applied to number labels if the label format mode is set to extended.
Code Block | ||||
---|---|---|---|---|
| ||||
var chart = new graphomate.ui.charts.Chart({
chartType: graphomate.ui.charts.enums.ChartType.Bar,
series1: [5, 16, 17, 20],
labelFormatMode: graphomate.ui.enums.LabelFormatMode.Extended,
extendedNumberFormat: new graphomate.ui.ExtendedNumberFormat({
negativeSign: "(",
suffix: "$",
decimalPlaces: 2
})
}); |