var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.addDataBarRule(minType, minValue, maxType, maxValue, color, ranges);
function addDataBarRule( minType : ScaleValueType, minValue : object, maxType : ScaleValueType, maxValue : object, color : string, ranges : undefined ) : object;
Parameters
- minType
- The minimum scale type.
- minValue
- The minimum scale value.
- maxType
- The maximum scale type.
- maxValue
- The maximum scale value.
- color
- The color data bar to show on the view.
- ranges
- The cell ranges where the rule is applied whose item type is GC.Spread.Sheets.Range.
Return Value
The data bar rule added to the rule collection.