Skip to main content

ApiChart

ApiChart is a subclass of ApiDrawing.

Methods

MethodReturnsDescription
ApplyChartStylebooleanSets a style to the current chart by style ID.
CopyApiDrawingCreates a copy of the specified drawing object.
DeletebooleanDeletes the specified drawing object from the parent.
GetAllSeriesApiChartSeries[]Returns all series from the chart space.
GetChartTypeChartTypeReturns a type of the chart object.
GetClassType"chart"Returns a type of the ApiChart class.
GetHeightEMUReturns the height of the current drawing.
GetParentPageApiPageReturns the type of the ApiDrawing class.
GetPosXEMUGets the x position of the drawing on the page.
GetPosYEMUGets the y position of the drawing on the page.
GetRotationnumberReturns the rotation angle of the current drawing object.
GetSeriesApiChartSeriesReturns the series with a specific index.
GetTitlestring | nullReturns the chart title text.
GetWidthEMUReturns the width of the current drawing.
RemoveSeriabooleanRemoves the specified series from the current chart.
SelectbooleanSelects the current graphic object.
SetAxieNumFormatbooleanSets the specified numeric format to the axis values.
SetCategoryNamebooleanSets a name to the specified chart category.
SetDataPointFillbooleanSets the fill to the data point in the specified chart series.
SetDataPointNumFormatbooleanSets the specified numeric format to the chart data point.
SetDataPointOutLinebooleanSets the outline to the data point in the specified chart series.
SetHorAxisLabelsFontSizebooleanSpecifies font size for labels of the horizontal axis.
SetHorAxisMajorTickMarkbooleanSpecifies major tick mark for the horizontal axis.
SetHorAxisMinorTickMarkbooleanSpecifies minor tick mark for the horizontal axis.
SetHorAxisOrientationbooleanSpecifies the horizontal axis orientation.
SetHorAxisTickLabelPositionbooleanSpicifies tick labels position for the horizontal axis.
SetHorAxisTitlebooleanSpecifies the chart horizontal axis title.
SetLegendFillbooleanSets the fill to the chart legend.
SetLegendFontSizebooleanSpecifies the legend font size.
SetLegendOutLinebooleanSets the outline to the chart legend.
SetLegendPosbooleanSpecifies the chart legend position.
SetMajorHorizontalGridlinesbooleanSpecifies major horizontal gridline visual properties.
SetMajorVerticalGridlinesbooleanSpecifies major vertical gridline visual properties.
SetMarkerFillbooleanSets the fill to the marker in the specified chart series.
SetMarkerOutLinebooleanSets the outline to the marker in the specified chart series.
SetMinorHorizontalGridlinesbooleanSpecifies minor horizontal gridline visual properties.
SetMinorVerticalGridlinesbooleanSpecifies minor vertical gridline visual properties.
SetPlotAreaFillbooleanSets the fill to the chart plot area.
SetPlotAreaOutLinebooleanSets the outline to the chart plot area.
SetPosXbooleanSets the x position of the drawing on the page.
SetPosYbooleanSets the y position of the drawing on the page.
SetPositionbooleanSets the position of the drawing on the page.
SetRotationbooleanSets the rotation angle to the current drawing object.
SetSeriaNamebooleanSets a name to the specified chart series.
SetSeriaNumFormatbooleanSets the specified numeric format to the chart series.
SetSeriaValuesbooleanSets values to the specified chart series.
SetSeriesFillbooleanSets the fill to the specified chart series.
SetSeriesOutLinebooleanSets the outline to the specified chart series.
SetShowDataLabelsbooleanSpecifies which chart data labels are shown for the chart.
SetShowPointDataLabelbooleanSpicifies the show options for data labels.
SetSizebooleanSets the size of the object (image, shape, chart) bounding box.
SetTitlebooleanSpecifies the chart title.
SetTitleFillbooleanSets the fill to the chart title.
SetTitleOutLinebooleanSets the outline to the chart title.
SetVerAxisOrientationbooleanSpecifies the vertical axis orientation.
SetVerAxisTitlebooleanSpecifies the chart vertical axis title.
SetVertAxisLabelsFontSizebooleanSpecifies font size for labels of the vertical axis.
SetVertAxisMajorTickMarkbooleanSpecifies major tick mark for the vertical axis.
SetVertAxisMinorTickMarkbooleanSpecifies minor tick mark for the vertical axis.
SetVertAxisTickLabelPositionbooleanSpicifies tick labels position for the vertical axis.
SetXValuesbooleanSets the x-axis values to all chart series. It is used with the scatter charts only.