Hello,
I am trying to have a MultiStopLinearGradient for a Bar marker in a Linear gauge, going from Green to Red, stepping through Yellow. I can't find a way, so far, to get the gradient working the way I need, i.e. spreading the range from 0% to 100%, with Green at the base and Red at the top. Waht I have obtained, instead, is that the gradient always appears 'compressed' from 0 to current value of the bar. In order to clarify my issue, see 3 images attached, each containing a UltraProgressBar at the left and a UltraGauge at the right, with values at 10%, 50% and 100% of available range. ProgressBar uses a background image for the bar.
The goal is to get an appearance for UltraGauge similar to the one from ProgressBar.
Any hint/suggestion would be appreciated. Thank you.
Hello ,
I was following Max’s suggestion to create a sample for you. Please run the sample and let me know if this is what you are looking for.
Thank you for using Infragistics Components.
Thanks Max and Hristo,
the suggested solution does the job. At least until you don't need to use the Response object: in a quick test I just did, it seems that Response is triggered on a Value_change base.
I thing that having a 'Background image' for Bar marker appearance could be a valid feature for your Gauge control.
Thank you, and have a nice day