Holger Schimanski Posted January 4, 2021 Share Posted January 4, 2021 I am working on a Sankey resp. Alluvial diagramhttps://github.com/hski-github/spotfire-sankey-diagramusing TIBCO Spotfire Mods. Because of the nature of this type of diagram only Count and Sum makes sense as aggregation methods for the continuous axis. Is there a way to limit this in the mods manifest file, so that Average etc. are not possible to select Or is there a way to check the calculation method from JavaScript API Best regards Holger Link to comment Share on other sites More sharing options...
Magnus Rylander Posted January 5, 2021 Share Posted January 5, 2021 Hi Holger, There is no support for limiting the aggregation methods available for an axis in a visualization mod. Note that the same is also true for all native visualizations. You can however use the JavaScript API to inspect the axis expression and even subscribe to expression changes. See https://tibcosoftware.github.io/spotfire-mods/api-docs/interfaces/axis.html. Regards, Magnus Link to comment Share on other sites More sharing options...
Fabian Duerr Posted January 7, 2021 Share Posted January 7, 2021 You could work with a document property that holds only AVG and SUM and then control your axis with a custom expression using this property. So at the end you can control the axis with a drop down menu or a radio buttons. However, the user will still be able to change the axis confiduration since the axis control is still available. At least in 7.11 it's not possible to hide or lock this control. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now