IStringOrDoubleChartValue

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

NameTypeAccessDescription
as_literal_stringstrRead/WriteReturns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals.
as_literal_doublefloatRead/WriteReturns or sets the literal double if DataSourceType property is DataSourceType.DoubleLiterals.
as_cellIChartDataCellRead/WriteGets or sets the as cell.
data_source_typeDataSourceTypeRead/WriteGets or sets the data source type.
dataobjectRead/WriteGets or sets the data.

Methods

SignatureDescription
to_double() → floatConverts the stored chart value to a float

See Also