Can I pass on parameters from a parent display to child display?

Q

Can I pass on parameters from a parent display to child display?

A

Supposing you have a parent display like this here...

...and supposing furthermore this display has any number of parent parameters the user may edit when the parent display is being used in the visualization...

...if you then drag and drop child displays to such a display which have in turn parameters themselves, then you can let pass on the parent parameters
to the child display using the "relative" option.

In the screen shot below you find to the right the parameters of the child display "click area" (used as example) that has been draged and dropped to the parent display.

If you click on the "R" option of one of the child displays' parameters atvise offers you another column where you can select the parent parameters instead of absolute values.

During runtime now when the user enters the parameters of the parent display these values are forwared to the child display automatically.

Another column lets you add a value, a fomular or text string depending on the type of parameter to the value given. Since ativse adds the value and the additional parameter with "+" logically you can do data preprocessing or string extension, however.

     

Another method is using substitutions. You can add a substitution string for each parameter that can be used in a child display instead for easier handling.

$LABEL$,$FONTFAMILY$,$FONTSIZE$ etc. are substitution strings for parameters. They are needed if the same parameters are needed in child displays too. Using the same substitution string will forward the parameter values to child displays.

In the example the constants are reused in a child display parameter list. While a user enters the parameters in the main display as defined above the child display will use them in the end.

 

Â