Jump to content

Barchart Mod example - How to change the axes?


Henry Heberle

Recommended Posts

The Mods example, the google bar chart, shows how to create a property orientation, so that we can have vertical and horizontal layout.

However, the axes were not changed, and the visualization shows wrong legend for each axis.

How to change the placement, e.g., swap left <-> bottom when changing from vertical to horizontal?

In the example, Publisher would need to be on the left axis when horizontal bars.

https://tibcosoftware.github.io/spotfire-mods/docs/tutorials/barchart-googlechart/

Link to comment
Share on other sites

Hi Henry,

It is possible to specify the position of axis selectors at design time in the mod manifest, but changing the position at runtime is not currently not supported. Feel free to add an idea in TIBCO Ideas Portal.

The current best alternative for cases like this (switching orientation) is to remove the axis selectors from the canvas and only display them in the legend.

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