on ‎2021 Jan 20 11:09 AM
In Analytic Applications, I want to be able to change the scale of the measure to the unit of "ten thousand" and "one hundred thousand".
Is it possible to control it with a script?
Request clarification before answering.
var Scaling = RadioButtonGroup_1.getSelectedKey();
if(Scaling==="k"){
Chart_1.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Thousand,Feed.ValueAxis);
Table_1.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Thousand);
}
else if(Scaling==="m"){
Chart_1.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Million,Feed.ValueAxis);
Table_1.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Million);
}
else if(Scaling==="b"){
Chart_1.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Billion,Feed.ValueAxis);
Table_1.getNumberFormat().setScaleUnit(NumberFormatScaleUnit.Billion);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.