COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: icepick on 02 Jul 2009 06:00:40 AM

Title: Dynamic Gauge palette?
Post by: icepick on 02 Jul 2009 06:00:40 AM
Hi,
My Gauge has 3 colors in the background palette, green, orange and red.
Since the gauge is started as a pass-through I would like to be able to change the palette depending on the values passed through.

For example, sometimes it goes from green to orange at 75%, but in other instances it can be at 85%. Right now i have to create 2 different gauges for this. Anyone know a workaround?
Title: Re: Dynamic Gauge palette?
Post by: DustPanMan on 02 Jul 2009 12:50:20 PM
Icepick,

You should be able to use Javascript within your palette parameters to allow it to change dynamically.
Title: Re: Dynamic Gauge palette?
Post by: bogavijay on 11 Feb 2014 11:02:54 PM
Hi DustPanMan,
Have you implemented in java script.
I have same requirement.Please let me if it is working through java script at dynamically.

Thanks