Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

Usage Example
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
	})
});



  • No labels