Format a numeric point chart (primary & secondary values)

Set number format to Millions with 1 decimal place

Feed.ValueAxis is the primary value
Feed.ValueAxis2 is the secondary value

Numeric_point_chart.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Million,Feed.ValueAxis);
Numeric_point_chart.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Million,Feed.ValueAxis2);
Numeric_point_chart.getNumberFormat().setDecimalPlaces(1);
Code language: JavaScript (javascript)
Scroll to Top