Juan Molina Posted May 26, 2023 Posted May 26, 2023 I'm using the default gauge mod visualization of Spotfire but it only gives an option for the background opacity, is there a way that I can change the color of it using ranges? Something similar to this. 0 to 50 red, 50 to 100 yellow, and 100 to 150 green. If it is not possible using this mod, anyone knows any other way of doing so, maybe using JavaScript?
Fredrik Rosell Posted May 31, 2023 Posted May 31, 2023 Hello!This is not possible in the current version of the Gauge mod, but there is an existing idea for it that you could vote for: Gauge with the ability to color using numeric valueshttps://ideas.tibco.com/ideas/TS-I-9260The mod is open source (available on Github - https://github.com/TIBCOSoftware/spotfire-mod-gauge) so you are also free to implement this yourself. If you have no previous experience with Mods development, https://community.spotfire.com/s/article/Spotfire-Mods-Developers-Hub-Fundamentals would be a good starting point. Alternatively, that page is also a good starting point if you find an existing gauge chart that provides the exact functionality you want in one of the many existing JavaScript graphics libraries (just googling for "javascript gauge chart" I found a number of gauge charts that seemed like good candidates)
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