public class StringOrDoubleChartValue extends BaseChartValue implements IStringOrDoubleChartValue
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.
| Modifier and Type | Method and Description |
|---|---|
IChartDataCell |
getAsCell()
Returns or sets chart data cell.
|
double |
getAsLiteralDouble()
Returns or sets value as literal double.
|
java.lang.String |
getAsLiteralString()
Returns or sets value as literal string.
|
java.lang.Object |
getData()
Returns or sets Data object.
|
void |
setAsCell(IChartDataCell value)
Returns or sets chart data cell.
|
void |
setAsLiteralDouble(double value)
Returns or sets value as literal double.
|
void |
setAsLiteralString(java.lang.String value)
Returns or sets value as literal string.
|
void |
setData(java.lang.Object value)
Returns or sets Data object.
|
double |
toDouble()
Converts to double.
|
getDataSourceType, getParent_Immediate, setDataSourceTypeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataSourceType, setDataSourceTypepublic final IChartDataCell getAsCell()
Returns or sets chart data cell.
Read/write IChartDataCell.
getAsCell in interface ISingleCellChartValuepublic final void setAsCell(IChartDataCell value)
Returns or sets chart data cell.
Read/write IChartDataCell.
setAsCell in interface ISingleCellChartValuepublic final java.lang.String getAsLiteralString()
Returns or sets value as literal string.
Read/write String.
getAsLiteralString in interface IStringOrDoubleChartValuepublic final void setAsLiteralString(java.lang.String value)
Returns or sets value as literal string.
Read/write String.
setAsLiteralString in interface IStringOrDoubleChartValuepublic final double getAsLiteralDouble()
Returns or sets value as literal double.
Read/write double.
getAsLiteralDouble in interface IStringOrDoubleChartValuepublic final void setAsLiteralDouble(double value)
Returns or sets value as literal double.
Read/write double.
setAsLiteralDouble in interface IStringOrDoubleChartValuepublic java.lang.Object getData()
Returns or sets Data object.
Read/write Object.
getData in interface IBaseChartValuegetData in class BaseChartValuepublic void setData(java.lang.Object value)
Returns or sets Data object.
Read/write Object.
setData in interface IBaseChartValuesetData in class BaseChartValuepublic final double toDouble()
Converts to double.
toDouble in interface IStringOrDoubleChartValueCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.