major_unit_scale 属性
major_unit_scale 属性
表示类别轴的主要单位刻度。
例子
from aspose.cells.charts import CategoryType, TimeUnit
chart.category_axis.category_type = CategoryType.TIME_SCALE
chart.category_axis.major_unit_scale = TimeUnit.MONTHS
chart.category_axis.major_unit = 2
定义:
@property
def major_unit_scale(self):
...
@major_unit_scale.setter
def major_unit_scale(self, value):
...
也可以看看
- 模块 aspose.cells.charts
- 类 Axis
- 类 TimeUnit