IXlsChartDataLabelElement
COM interface ( getting help with interfaces )

 

interface IXlsChartDataLabelElement : IDispatch
{
  [id(1),propget] HRESULT Options([out, retval]IXlsChartOptions** options);
  [id(2),propget] HRESULT Show([out, retval]int* datalabels);
  [id(2),propput] HRESULT Show([in]int datalabels);
  [id(3),propget] HRESULT Placement([out, retval]enumChartDataLabelPlacement* datalabelplacement);
  [id(3),propput] HRESULT Placement([in]enumChartDataLabelPlacement datalabelplacement);
  [id(4),propput] HRESULT Label([in]BSTR label);
  [id(4),propget] HRESULT Label([out, retval]BSTR* label);
  [id(5),propput] HRESULT RichLabel([in]IXlsRichLabel* rl);
  [id(6),propput] HRESULT Formula([in]BSTR formula);
  [id(6),propget] HRESULT Formula([out, retval]BSTR* formula);
  [id(7),propput] HRESULT VectorShape([in]enumVectorShape shapeType);

}

 

HRESULT Options([out, retval]IXlsChartOptions** options);
returns the options object for the data label element.

HRESULT Show([out, retval]int* datalabels);
returns how the data label element is displayed (see enumChartDataLabels). Default is : not displayed.

HRESULT Show([in]int datalabels);
sets how the data label element is displayed (see enumChartDataLabels). Default is : not displayed.

HRESULT Placement([out, retval]enumChartDataLabelPlacement* datalabelplacement);
returns where the data label element is displayed. Default is : automatic.

HRESULT Placement([in]enumChartDataLabelPlacement datalabelplacement);
sets where the data label element is displayed. Default is : automatic.

HRESULT Label([in]BSTR label);
sets the data label element title. Pass an empty string to hide it.

HRESULT Label([out, retval]BSTR* label);
returns the data label element title.

HRESULT RichLabel([in]IXlsRichLabel* rl);
sets the data label element title using richly formatting labels.

HRESULT Formula([in]BSTR formula);
sets the formula for the data label element title.

HRESULT Formula([out, retval]BSTR* formula);
returns the formula for the data label element title.

HRESULT VectorShape([in]enumVectorShape shapeType);
sets a custom vector shape attached to this data label element.