Jump to content

Is it possible to use a custom expression with property controls for error bars is Visualisations


Anja Kermer

Recommended Posts

I have a visualisation where the y-axis column is controlled by a document property control (the property control gives a single column). Id like to use the same property control for my error bars.

My expression is:

StdDev($esc(${ColumnSelectionPDP}))

Spotfire gives me the message: Preprocessor syntax is not supported.

Is there any way to use the property controls for error bars

 

Many thanks in advance!

Link to comment
Share on other sites

  • 1 year later...

I have a slightly hacky workaround. I created a calculated column called StdDevVal where the formula is simply $esc(${ColumnSelectionPDP}) and then set up the error bars as StdDev([stdDevVal])

Unfortunately you have to set up the error bars for every value of the ColumnSelectionPDP parameter.

This is not ideal but was the only thing I could find that works

Link to comment
Share on other sites

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