Jump to content
The ibi Community has moved to a new platform: Please Sign In and choose Forgot Password to continue

In an InfoAssist bar chart (not a Designer chart) would like to be able to change the color of a bar clicked on. Is this possible in WF by adding event or interaction logic to *GRAPH_JS_FINAL or somewhere else?


Keith Lyles

Recommended Posts

The reason this behavior is desired is the charts will be displayed side-by-side with the chart on the left acting as the driver for the chart on the right (so a bar clicked on the chart on the left will be displayed on the chart on the right). It would be nice to have a visual reference on the left chart of what was last clicked.

On WF version 8.207.27

Link to comment
Share on other sites

Reached out to Tibco and they were able to provide the correct code to put under *GRAPH_JS_FINAL to accomplish the desired behavior.

"previewSelection": 

{  

enabled: true,

selectRelatedObjects: false,  

selectedColor: 'rgba(255, 255, 0, 0.6)',

selectedBorder: {width: 2, color: 'red', dash: '6 6'},

eventCallback: undefined

}

(see attached car file for full code example)

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