To render calculated values in a mod (e.g. to display a continuous scale) there is a need for an API to get the values formatted according to the settings made in Spotfire, similar to what's achieved with row.continuous("Y").formattedValue().
Guest
Mar 9, 2022
Hi to everyone, is there a feasible workaround for this? In the donut mods, I need to display center value as an integer but it is always casted as a decimal with two decimal spaces.
I tried using javascript but I get error "Uncaught DOMException: Blocked a frame with origin "<yourdomainname.com>" when I try to point iframe.
Configurable value formatting for visualization mods
Merged
Add the ability to configure the value formatting for a visualization mod, either in UI or in code. The getFormattedValue API provides no way to control the format of the data values returned.
about 5 years ago
in Spotfire / Mods
0
Future Consideration
Hi to everyone, is there a feasible workaround for this? In the donut mods, I need to display center value as an integer but it is always casted as a decimal with two decimal spaces.
I tried using javascript but I get error "Uncaught DOMException: Blocked a frame with origin "<yourdomainname.com>" when I try to point iframe.
Thanks.