StringOrDoubleChartValue

StringOrDoubleChartValue class

Represent string or double value which can be stored in pptx presentation document in two ways:

  1. in cell/cells of workbook related to chart;
  2. as literal value.

getAsCell

NameDescription
getAsCell()Returns or sets chart data cell. Read/write IChartDataCell.

Result: ChartDataCell


getAsLiteralDouble

NameDescription
getAsLiteralDouble()Returns or sets value as literal double. Read/write double.

Result: double


getAsLiteralString

NameDescription
getAsLiteralString()Returns or sets value as literal string. Read/write String.

Result: String


getData

NameDescription
getData()Returns or sets Data object. Read/write Object.

Result: Object


getData

NameDescription
getData()Data. Read/write Object.

Result: Object


getDataSourceType

NameDescription
getDataSourceType()Specifies whether AsCell, AsCells, AsLiteralString or AsLiteralDouble property is actual in descendants. In other words it specifies the type of value of the Data property. Read/write DataSourceType. For points in ChartDataPointCollection this property is read-only. In this case for changing value of this property you can use one of the ChartDataPointCollection.DataSourceTypeFor<…> properties.

Result: int


getParent_Immediate

NameDescription
getParent_Immediate()

setAsCell

NameDescription
setAsCell(ChartDataCell)Returns or sets chart data cell. Read/write IChartDataCell.

setAsLiteralDouble

NameDescription
setAsLiteralDouble(double)Returns or sets value as literal double. Read/write double.

setAsLiteralString

NameDescription
setAsLiteralString(String)Returns or sets value as literal string. Read/write String.

setData

NameDescription
setData(Object)Returns or sets Data object. Read/write Object.

setData

NameDescription
setData(Object)Data. Read/write Object.

setDataSourceType

NameDescription
setDataSourceType(int)Specifies whether AsCell, AsCells, AsLiteralString or AsLiteralDouble property is actual in descendants. In other words it specifies the type of value of the Data property. Read/write DataSourceType. For points in ChartDataPointCollection this property is read-only. In this case for changing value of this property you can use one of the ChartDataPointCollection.DataSourceTypeFor<…> properties.

toDouble

NameDescription
toDouble()Converts to double.

Result: double