IStringChartValue

IStringChartValue

Overview

IStringChartValue is a class in Aspose.Slides FOSS for Python. Inherits from: IMultipleCellChartValue, ABC.

Represent string 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 2 methods for IStringChartValue objects in Python programs. Available methods include: set_from_one_cell, to_string. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_literal_string, data, data_source_type.

Properties

NameTypeAccessDescription
as_literal_stringstrRead/WriteReturns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals.
data_source_typeDataSourceTypeRead/WriteGets or sets the data source type.
dataobjectRead/WriteGets or sets the data.

Methods

SignatureDescription
to_string() → strReturns the chart value as a string
set_from_one_cell(cell)Sets the from one cell value.

See Also