Introduction
Most Widgets show data labels for values and dates, which may depend on user culture and personal choices.
The properties panel has a “Format” section which allows to configure these labels. All number and date fields are listed there, and labels can be configured by clicking on the cog icon :
Measure Formatting
The Measure Formatting dialog allows to configure the label formatting for number fields :
Number Representation
Numbers can be shortened in several ways :
- Auto (default) : depending on how large the number is, a multiplicator symbol can be added : “K” for thousand, “M” for million, “B” for billion
- Ones : the full number is displayed without multiplicator symbol
- Thousands
- Millions
- Billions
Decimal Places
The Decimal Places selector allows to force how many decimal places should be displayed for numbers :
Negative Values
Alternate symbols can be used to represent negative values :
Prefix / Suffix
Prefix (before the number) and/or Suffix (after the number) text can be used :
No space is added by default between the number and the prefix/suffix.
Date Formatting
The Date Formatting dialog allows to configure the label formatting for Date
or DateTime
fields :
A selection of date format types is available, and a preview is shown below as “Sample”.
Date format localization
Only the type of date format can be configured (short, long, etc…).
At runtime, the date localization will depend on localization choices of the user.
In order of decreasing priority :
- The Language selected by the user on Alpana Server contains culture information that will be used to localize the dates. Note : this is not available during Dashboard Preview from Alpana Designer.
- The culture selected by the user as preferred language in the web browser will be used.
- The culture of the display language of the web browser will be used.
Post your comment on this topic.