SAP Knowledge Base Article - Public

3379606 - Value Ranges is not changing as per scaling by using the API setScaleFormat


You use the API Chart_X.getNumberFormat().setScaleFormat(NumberFormatScaleFormat.Short) to change the number format.

The values of the Legend(Value Range)  is not changing as per Scaling.




SAP Analytics Cloud 1.0

Reproducing the Issue

1. Create Tree Map.
2. Assign Measures to Size, Color, & Tooltip.
3. Create a script using below blog to create Thousand and Million Buttons, which will set the scaling on the Tree Map Chart.
4. Save the Story.
5. While viewing click on Thousand or Million Button, Observe that the Legend(Value Range bar) is not changing as per the scaling we set.


This is not supported according to the Analytics Designer API Reference Guide :


It says "Specifies the scale format of the chart. Number format APIs only apply to measures on axes, Feed.ValueAxis and Feed.ValueAxis2. Tooltip measures Feed.TooltipValueAxis, aren’t supported, for example. "


You can raise this as a software enhancement request on SAP Customer Influence Website. There you have the opportunity to discuss it with our product owner directly. If it is accepted, it might be added to a future product release or support package. For detail of "Customer influence" website, refer to the note ##2424376.


KBA , LOD-ANA-UNS-DVP , Unified Story Developer Issues , LOD-ANA-AD , Analytics Designer , Problem


SAP Analytics Cloud 1.0