ComponentOne Gauges for ASP.NET AJAX: Working with Gauges for ASP.NET AJAX > Gauge Decorators > Decorators ValueColors

Decorators ValueColors

All decorators have the ValueColors collection property. It allows mapping colors to value thresholds to display, for example, a multi-colored range or a set of labels. A few gradient blending types are supported via the ValueColorFalloff property.

The ValueColors collection contains objects of the C1GaugeValueColor type. Each of these objects associates a value (specified by the Value property) with some color (specified by the Color and Opacity properties). Instead of the fixed value you may provide the index of a pointer that gives the value associated with this object. Thus, the PointerIndex property allows binding the color to a pointer.

For filled decorators, such as ranges or tick marks, the ValueColors property is used if the BrushType property equals to 'SolidColor'.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.