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
| Name | Type | Access | Description |
|---|---|---|---|
as_literal_string | str | Read/Write | Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals. |
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_string() → str | Returns the chart value as a string |
set_from_one_cell(cell) | Sets the from one cell value. |