Skip to Main Content
Spotfire Ideas Portal

Mods API for formatting of calculated values

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().

  • Attach files
      Drop here to upload
    • Guest
      Reply
      |
      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.


      Thanks.

    4 MERGED

    Configurable value formatting for visualization mods

    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.
    over 4 years ago in Spotfire / Mods 0 Future Consideration