GcSpread.Sheets Namespace : IconSetType Enumeration |
Member | Description |
---|---|
FiveArrowsColored | Specifies five colored arrows. |
FiveArrowsGray | Specifies five gray arrows. |
FiveBoxes | Specifies five boxes. |
FiveQuarters | Specifies five quarters. |
FiveRatings | Specifies five ratings. |
FourArrowsColored | Specifies four colored arrows. |
FourArrowsGray | Specifies four gray arrows. |
FourRatings | Specifies four ratings. |
FourRedToBlack | Specifies four red to black icons. |
FourTrafficLights | Specifies four traffic lights. |
ThreeArrowsColored | Specifies three colored arrows. |
ThreeArrowsGray | Specifies three gray arrows. |
ThreeFlags | Specifies three flags. |
ThreeSigns | Specifies three signs. |
ThreeStars | Specifies three stars. |
ThreeSymbolsCircled | Specifies three symbols (circled). |
ThreeSymbolsUncircled | Specifies three symbols (uncircled). |
ThreeTrafficLightsRimmed | Specifies three traffic lights (rimmed). |
ThreeTrafficLightsUnrimmed | Specifies three traffic lights (unrimmed). |
ThreeTriangles | Specifies three trangles. |
activeSheet.setValue(0,0,1,3); activeSheet.setValue(1,0,15,3); activeSheet.setValue(2,0,25,3); activeSheet.setValue(3,0,-1,3); var cfs = activeSheet.getConditionalFormats(); var iconSetRule = new GcSpread.Sheets.IconSetRule(); iconSetRule.ranges =[new GcSpread.Sheets.Range(0,0,4,1)]; iconSetRule.iconSetType(GcSpread.Sheets.IconSetType.FourTrafficLights); var iconCriteria = iconSetRule.iconCriteria(); iconCriteria[0] = new GcSpread.Sheets.IconCriterion(true, GcSpread.Sheets.IconValueType.Number, 1); iconCriteria[1] = new GcSpread.Sheets.IconCriterion(true, GcSpread.Sheets.IconValueType.Number, 10); iconCriteria[2] = new GcSpread.Sheets.IconCriterion(true, GcSpread.Sheets.IconValueType.Number, 20); iconSetRule.reverseIconOrder(false); iconSetRule.showIconOnly(false); cfs.addRule(iconSetRule);
Object
GcSpread.Sheets.IconSetType