☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation

highcharts.getAxisFormat

highcharts.getAxisFormat(format: FormatObject): String

Converts the FormatObject to the Highcharts format string with the value variable.

To learn how Flexmonster’s number format is set in Highcharts, see the Using Flexmonster number formatting in Highcharts section.

Parameters

Parameter/TypeDescription
format
FormatObject
The number format that is applied to measures in Flexmonster.

Returns

Highcharts format string with the value variable.

Example

Applying the number format for yAxis labels:

chartConfig.yAxis[i].labels = {
  format: pivot.highcharts.getAxisFormat(currencyFormat)
}

Live example

See also