05-29-2009 10:57 AM
We've got an application taht would really benefit from the Meter or Gauge, provided we could change the color.
I've searched the forums, and while there's quite a bit on changing the color of eacharea, there's nothing on [i]adding[/i] areas or changing the [i]range[/i] of areas.
Specifically, we need the Meter (or Gauge, though Meter is prefered) to go Red-Yellow-Green-Yellow-Red, with the color change thresholds changable programatically (so the first Red could be 0-10% or 0-15%, depending on the system state).
I'm sure there's a way to do this, I just haven't figured out how.
Solved! Go to Solution.
05-29-2009 11:03 AM
Maybe this will help.
Ben
05-29-2009 11:08 AM
thats perfect, thank you
05-29-2009 11:13 AM
Not only did Ben post quicker than me,
his code was a million times better than mine... so I wont even post mine to save a little of my dignity
05-29-2009 11:14 AM
Use the property Scale.MarkerValues[]. It's a cluster array where the first element is the value of the marker where the color starts and the second element is the color value.