GC.Spread.Sheets.ConditionalFormatting 名前空間 > ConditionalFormats タイプ : add3ScaleRule メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.add3ScaleRule(minType, minValue, minColor, midType, midValue, midColor, maxType, maxValue, maxColor, ranges); |
Javascript (Specification) | |
---|---|
function add3ScaleRule( minType : ScaleValueType, minValue : object, minColor : string, midType : ScaleValueType, midValue : object, midColor : string, maxType : ScaleValueType, maxValue : object, maxColor : string, ranges : undefined ) : object; |
activeSheet.setValue(0,0, 1,3); activeSheet.setValue(1,0, 50,3); activeSheet.setValue(2,0, 100,3); activeSheet.conditionalFormats.add3ScaleRule(1, 10, "red", 0, 50, "blue",2, 100, "yellow", [new GC.Spread.Sheets.Range(0, 0, 10, 3)]);