Excel.Interfaces.DataBarConditionalFormatUpdateData interface
用于更新对象上 DataBarConditionalFormat 的数据的接口,用于 dataBarConditionalFormat.set({ ... }).
属性
| axis |
表示轴线颜色的 HTML 颜色代码,#RRGGBB (形式,例如“FFA500”) 或命名 HTML 颜色 (,例如“orange”) 。 如果不存在或设置了任何轴,则值为空字符串 () 为“”。 |
| axis |
表示如何确定 Excel 数据条的轴。 |
| bar |
指定数据条图形应基于的方向。 |
| lower |
构成下限 (以及如何计算它的规则(如果适用)) 数据条。 必须将对象 |
| negative |
Excel 数据条中轴左侧所有值的表示形式。 |
| positive |
Excel 数据条中轴右侧所有值的表示形式。 |
| show |
如果 ,则 |
| upper |
构成数据栏的上限(以及如何计算,如果适用)的规则。 必须将对象 |
属性详细信息
axisColor
表示轴线颜色的 HTML 颜色代码,#RRGGBB (形式,例如“FFA500”) 或命名 HTML 颜色 (,例如“orange”) 。 如果不存在或设置了任何轴,则值为空字符串 () 为“”。
axisColor?: string;
属性值
string
注解
axisFormat
表示如何确定 Excel 数据条的轴。
axisFormat?: Excel.ConditionalDataBarAxisFormat | "Automatic" | "None" | "CellMidPoint";
属性值
Excel.ConditionalDataBarAxisFormat | "Automatic" | "None" | "CellMidPoint"
注解
barDirection
指定数据条图形应基于的方向。
barDirection?: Excel.ConditionalDataBarDirection | "Context" | "LeftToRight" | "RightToLeft";
属性值
Excel.ConditionalDataBarDirection | "Context" | "LeftToRight" | "RightToLeft"
注解
lowerBoundRule
构成下限 (以及如何计算它的规则(如果适用)) 数据条。 必须将对象 ConditionalDataBarRule 设置为 JSON 对象 (而不是) x.lowerBoundRule = {...}x.lowerBoundRule.formula = ... 使用。
lowerBoundRule?: Excel.ConditionalDataBarRule;
属性值
注解
negativeFormat
Excel 数据条中轴左侧所有值的表示形式。
negativeFormat?: Excel.Interfaces.ConditionalDataBarNegativeFormatUpdateData;
属性值
注解
positiveFormat
Excel 数据条中轴右侧所有值的表示形式。
positiveFormat?: Excel.Interfaces.ConditionalDataBarPositiveFormatUpdateData;
属性值
注解
showDataBarOnly
upperBoundRule
构成数据栏的上限(以及如何计算,如果适用)的规则。 必须将对象 ConditionalDataBarRule 设置为 JSON 对象 (而不是) x.upperBoundRule = {...}x.upperBoundRule.formula = ... 使用。
upperBoundRule?: Excel.ConditionalDataBarRule;