StringOrDoubleChartValue
StringOrDoubleChartValue class
Represent string or double value which can be stored in pptx presentation document in two ways:
- in cell/cells of workbook related to chart;
- as literal value.
getAsCell
Name | Description |
---|
getAsCell() | Returns or sets chart data cell. Read/write IChartDataCell. |
Result:
ChartDataCell
getAsLiteralDouble
Name | Description |
---|
getAsLiteralDouble() | Returns or sets value as literal double. Read/write double. |
Result:
double
getAsLiteralString
Name | Description |
---|
getAsLiteralString() | Returns or sets value as literal string. Read/write String. |
Result:
String
getData
Name | Description |
---|
getData() | Returns or sets Data object. Read/write Object. |
Result:
Object
getData
Name | Description |
---|
getData() | Data. Read/write Object. |
Result:
Object
getDataSourceType
Name | Description |
---|
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
Name | Description |
---|
getParent_Immediate() | |
setAsCell
Name | Description |
---|
setAsCell(ChartDataCell) | Returns or sets chart data cell. Read/write IChartDataCell. |
setAsLiteralDouble
Name | Description |
---|
setAsLiteralDouble(double) | Returns or sets value as literal double. Read/write double. |
setAsLiteralString
Name | Description |
---|
setAsLiteralString(String) | Returns or sets value as literal string. Read/write String. |
setData
Name | Description |
---|
setData(Object) | Returns or sets Data object. Read/write Object. |
setData
Name | Description |
---|
setData(Object) | Data. Read/write Object. |
setDataSourceType
Name | Description |
---|
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
Name | Description |
---|
toDouble() | Converts to double. |
Result:
double