StringChartValue class

StringChartValue class

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.

Inheritance:StringChartValueBaseChartValue

The StringChartValue type exposes the following members:

Properties

PropertyDescription
data_source_typeSpecifies whether AsCell, AsCells, AsLiteralString or AsLiteralDouble
property is actual in descendants. In other words it specifies the type
of value of the Data property.
Read/write DataSourceType.
dataReturns or sets Data object.
Read/write any.
as_cellsNull value assigning is not allowed.
Returning value always is not null.
Read/write IChartCellCollection.
as_literal_stringReturns or sets value as literal string.
Read/write str.

Methods

MethodDescription
set_from_one_cellSets value from specified cell.
get_cells_address_in_workbookIf DataSourceType property is DataSourceType.Worksheet then this method returns address
of the cells in workbook which represent the string data. Otherwise return
empty string.

See Also