StringOrDoubleChartValue

StringOrDoubleChartValue class

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.

public class StringOrDoubleChartValue : BaseChartValue, IStringOrDoubleChartValue

Properties

NameDescription
AsCell { get; set; }Returns or sets chart data cell. Read/write IChartDataCell.
AsLiteralDouble { get; set; }Returns or sets value as literal double. Read/write Double.
AsLiteralString { get; set; }Returns or sets value as literal string. Read/write String.
override Data { get; set; }Returns or sets Data object. Read/write Object.
DataSourceType { get; set; }Specifies 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.

Methods

NameDescription
ToDouble()Converts to double.

See Also