跳到主要内容

ApiChart

ApiChart 是 ApiDrawing 的子类。

方法

方法返回值描述
ApplyChartStyleboolean通过样式 ID 为当前图表设置样式。
CopyApiDrawing创建指定绘图对象的副本。
Deleteboolean从父对象中删除指定的绘图对象。
GetAllSeriesApiChartSeries[]返回图表空间中的所有系列。
GetChartTypeChartType返回图表对象的类型。
GetClassType"chart"返回 ApiChart 类的类型。
GetHeightEMU返回当前绘图的高度。
GetParentPageApiPage返回 ApiDrawing 类的类型。
GetPosXEMU获取绘图在页面上的 x 位置。
GetPosYEMU获取绘图在页面上的 y 位置。
GetRotationnumber返回当前绘图对象的旋转角度。
GetSeriesApiChartSeries返回具有特定索引的系列。
GetTitlestring | null返回图表标题文本。
GetWidthEMU返回当前绘图的宽度。
RemoveSeriaboolean从当前图表中删除指定的系列。
Selectboolean选择当前图形对象。
SetAxieNumFormatboolean将指定的数字格式设置为坐标轴值。
SetCategoryNameboolean为指定的图表类别设置名称。
SetDataPointFillboolean设置指定图表系列中数据点的填充。
SetDataPointNumFormatboolean将指定的数字格式设置为图表数据点。
SetDataPointOutLineboolean设置指定图表系列中数据点的轮廓。
SetHorAxisLabelsFontSizeboolean指定横轴标签的字体大小。
SetHorAxisMajorTickMarkboolean指定横轴的主刻度线。
SetHorAxisMinorTickMarkboolean指定横轴的次刻度线。
SetHorAxisOrientationboolean指定横轴的方向。
SetHorAxisTickLabelPositionboolean指定横轴刻度标签的位置。
SetHorAxisTitleboolean指定图表横轴的标题。
SetLegendFillboolean设置图表图例的填充。
SetLegendFontSizeboolean指定图例的字体大小。
SetLegendOutLineboolean设置图表图例的轮廓。
SetLegendPosboolean指定图表图例的位置。
SetMajorHorizontalGridlinesboolean指定主要水平网格线的视觉属性。
SetMajorVerticalGridlinesboolean指定主要垂直网格线的视觉属性。
SetMarkerFillboolean设置指定图表系列中标记的填充。
SetMarkerOutLineboolean设置指定图表系列中标记的轮廓。
SetMinorHorizontalGridlinesboolean指定次要水平网格线的视觉属性。
SetMinorVerticalGridlinesboolean指定次要垂直网格线的视觉属性。
SetPlotAreaFillboolean设置图表绘图区域的填充。
SetPlotAreaOutLineboolean设置图表绘图区域的轮廓。
SetPosXboolean设置绘图在页面上的 x 位置。
SetPosYboolean设置绘图在页面上的 y 位置。
SetPositionboolean设置绘图在页面上的位置。
SetRotationboolean设置当前绘图对象的旋转角度。
SetSeriaNameboolean为指定的图表系列设置名称。
SetSeriaNumFormatboolean将指定的数字格式设置为图表系列。
SetSeriaValuesboolean为指定的图表系列设置值。
SetSeriesFillboolean设置指定图表系列的填充。
SetSeriesOutLineboolean设置指定图表系列的轮廓。
SetShowDataLabelsboolean指定为图表显示哪些图表数据标签。
SetShowPointDataLabelboolean指定数据标签的显示选项。
SetSizeboolean设置对象(图像、形状、图表)边界框的大小。
SetTitleboolean指定图表标题。
SetTitleFillboolean设置图表标题的填充。
SetTitleOutLineboolean设置图表标题的轮廓。
SetVerAxisOrientationboolean指定纵轴的方向。
SetVerAxisTitleboolean指定图表纵轴的标题。
SetVertAxisLabelsFontSizeboolean指定纵轴标签的字体大小。
SetVertAxisMajorTickMarkboolean指定纵轴的主刻度线。
SetVertAxisMinorTickMarkboolean指定纵轴的次刻度线。
SetVertAxisTickLabelPositionboolean指定纵轴刻度标签的位置。
SetXValuesboolean将 x 轴值设置为所有图表系列。仅用于散点图。