返回或设置坐标轴类型。XlAxisType 类型,可读写。
| XlAxisType 可为以下 XlAxisType 常量之一。 |
| xlSeriesAxis |
| xlCategory |
| xlValue |
expression.Type
expression 必需。该表达式返回一个 Axis 对象。
应用于 ChartColorFormat 对象的 Type 属性。
返回颜色类型。Long 类型,只读。
expression.Type
expression 必需。该表达式返回一个 ChartColorFormat 对象。
应用于 ChartFillFormat 对象的 Type 属性。
返回填充类型。MsoFillType 类型,只读。
| MsoFillType 可为以下 MsoFillType 常量之一。 |
| msoFillGradient |
| msoFillBackground |
| msoFillMixed |
| msoFillPatterned |
| msoFillPicture |
| msoFillSolid |
| msoFillTextured |
expression.Type
expression 必需。该表达式返回一个 ChartFillFormat 对象。
应用于 DataLabel 和 DataLabels 对象的 Type 属性。
返回或设置数据标签类型。Variant 类型,可读写。
expression.Type
expression 必需。该表达式返回上面的对象之一。
返回或设置数据系列类型。Long 类型,可读写。
expression.Type
expression 必需。该表达式返回一个 Series 对象。
返回或设置趋势线类型。XlTrendlineType 类型,可读写。
| XlTrendlineType 可为以下 XlTrendlineType 常量之一。 |
| xlExponential |
| xlLinear |
| xlLogarithmic |
| xlMovingAvg |
| xlPolynomial |
| xlPower |
expression.Type
expression 必需。该表达式返回一个 Trendline 对象。
本示例更改图表中第一个数据系列的趋势线类型。如果该数据系列没有趋势线,本示例将无效。
myChart.SeriesCollection(1).Trendlines(1).Type = xlMovingAvg