Jump to content

Format a value with same formatter as formattedValue for continuous axis in Spotfire mods


Holger Schimanski

Recommended Posts

For my Spotfire mod I need to calculate some partial sums of some of the rows. (I am creating a stacked bar chart and need to sum the segments to calculate the overall height.)

For the calculation I can simply use therow.continuous("Y").value() and the calculate my partial sum. But now I want to render the partial sum and the value formatting should followthe same user-defined formatting asrow.continuous("Y").formattedValue().

Is there a possibility though the JavaScript API to get access to the value formatter of the respective continuous axis

Best regards

Holger

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...