IStringOrDoubleChartValue
Overview
IStringOrDoubleChartValue is a class in Aspose.Slides FOSS for Python.
Inherits from: ISingleCellChartValue, ABC.
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.
This class declares 1 method for IStringOrDoubleChartValue objects in Python programs.
Available methods include: to_double.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_cell, as_literal_double, as_literal_string, data, data_source_type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
as_literal_string | str | Read/Write | Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals. |
as_literal_double | float | Read/Write | Returns or sets the literal double if DataSourceType property is DataSourceType.DoubleLiterals. |
as_cell | IChartDataCell | Read/Write | Gets or sets the as cell. |
data_source_type | DataSourceType | Read/Write | Gets or sets the data source type. |
data | object | Read/Write | Gets or sets the data. |
Methods
| Signature | Description |
|---|---|
to_double() → float | Converts the stored chart value to a float |