Skip to Content
Technical Articles

How to set dynamically scale for key figures and also how to change the number formatting in SAC Analytics Application Designer

Hi Friends,

Writing the blog to explain how to change or set dynamically scale for key figures and also how to change the dynamic number formatting in SAC Analytics Application Designer.

As there is no document or step provided in SAP DeveloperHandbookSACAnalyticsDesigner

 

Please follow the below step.

Step 1- drag and drop a radio button on the canvas

Step2- hard code the radio button with 3 value by default as shown

 

step 3 We have to write a code on select radio button

 

The above code will change the scaling of the chart dynamic.

we can use the Chart_1.getNumberFormat().setScaleFormat(NumberFormatScaleFormat.Short)

to change the scaling text to short or long text for scaling format

 

to change the number format for a given chart at run time we have to use a below code.

Chart_1.getNumberFormat().setDecimalPlaces(1);

 

Thanks,

SaurabhS.

6 Comments
You must be Logged on to comment or reply to a post.