IXlsChartSeries
COM interface ( getting help with interfaces )

 

interface IXlsChartSeries : IDispatch
{
  [id(1),propget]  HRESULT Options([out, retval]IXlsChartOptions** options);
  [id(2),propget]  HRESULT SeriesDataLabels([out, retval]IXlsChartDataLabels** datalabels);
  [id(3),propget]  HRESULT AxisSelection([out, retval]enumChartAxisType* axistype);
  [id(3),propput]  HRESULT AxisSelection([in]enumChartAxisType axistype);
  [id(4),propget]  HRESULT SeriesType([out, retval]enumChartType* type);
  [id(4),propput]  HRESULT SeriesType([in]enumChartType type);
  [id(5),propget]  HRESULT ZOrder([out, retval]int* zorder);
  [id(5),propput]  HRESULT ZOrder([in]int zorder);
  [id(6),propget]  HRESULT DataElements([in]int i, [out, retval]IXlsChartDataElement** dataelement);
  [id(7),propget]  HRESULT CustomProperties([out, retval]IXlsChartCustomProperties** customproperties);
  [id(8),propget]  HRESULT Series3DBarShape([out, retval]enumChartBarShape* shape);
  [id(8),propput]  HRESULT Series3DBarShape([in]enumChartBarShape shape);
  [id(9),propget]  HRESULT TrendLine([out, retval]IXlsChartTrendLine** trendline);
  [id(10),propget] HRESULT XErrorBar([out, retval]IXlsChartErrorBar** errorbar);
  [id(11),propget] HRESULT YErrorBar([out, retval]IXlsChartErrorBar** errorbar);
  [id(12),propget] HRESULT Legend([out, retval]IXlsChartLegendEntry** legendentry);
  [id(13),propget] HRESULT ActualValues([out, retval]BSTR* values);
  [id(14),propget] HRESULT ActualLabels([out, retval]BSTR* labels);
  [id(15),propget] HRESULT DataWindowSelection([out, retval]int* length);
  [id(15),propput] HRESULT DataWindowSelection([in]int length);

}

 

HRESULT Options([out, retval]IXlsChartOptions** options);
returns the options object for this series.

HRESULT SeriesDataLabels([out, retval]IXlsChartDataLabels** datalabels);
returns the data labels object.

HRESULT AxisSelection([out, retval]enumChartAxisType* axistype);
returns the selected axis in which the series is displayed. Only applies to 2D charts. Default is primary axis.

HRESULT AxisSelection([in]enumChartAxisType axistype);
sets the selected axis in which the series is displayed. Only applies to 2D charts. Default is primary axis.

HRESULT SeriesType([out, retval]enumChartType* type);
returns the series draw type. Only applies to 2D charts.

HRESULT SeriesType([in]enumChartType type);
sets the series draw type. Only applies to 2D charts.

HRESULT ZOrder([out, retval]int* zorder);
returns the Z order which defines the order the series will be drawn. A lower value means more in the background.

HRESULT ZOrder([in]int zorder);
sets the Z order which defines the order the series will be drawn. A lower value means more in the background.

HRESULT DataElements([in]int i, [out, retval]IXlsChartDataElement** dataelement);
returns a custom data element object for this series.

HRESULT CustomProperties([out, retval]IXlsChartCustomProperties** customproperties);
returns the custom properties object.

HRESULT Series3DBarShape([out, retval]enumChartBarShape* shape);
returns the series 3D bar shape type. Only applies to 3D bar charts (bar, cone, pyramid).

HRESULT Series3DBarShape([in]enumChartBarShape shape);
sets the series 3D bar shape type. Only applies to 3D bar charts (bar, cone, pyramid).

HRESULT TrendLine([out, retval]IXlsChartTrendLine** trendline);
returns the trend line object for this series.

HRESULT XErrorBar([out, retval]IXlsChartErrorBar** errorbar);
returns the X error bar object for this series. Applies to all charts except 3D charts, pie/doughnut/radar/surface/contour charts.

HRESULT YErrorBar([out, retval]IXlsChartErrorBar** errorbar);
returns the Y error bar object for this series. Applies to all charts except 3D charts, pie/doughnut/radar/surface/contour charts.

HRESULT Legend([out, retval]IXlsChartLegendEntry** legendentry);
returns the legend object for this series.

HRESULT ActualValues([out, retval]BSTR* values);
returns the values in an array constant of the form ={1;2;3;...}.

HRESULT ActualLabels([out, retval]BSTR* labels);
returns the labels in an array constant of the form ={\"jan\";\"fev\";\"mar\";...}.

HRESULT DataWindowSelection([out, retval]int* length);
returns the window selection of the input data, expressed in length. Useful for moving average charts and the like.

HRESULT DataWindowSelection([in]int length);
sets the window selection of the input data, expressed in length. Useful for moving average charts and the like.