Class ChartDataSource
Inheritance
Namespace: IronPPT.Models
Assembly: IronPPT.dll
Syntax
public class ChartDataSource : Object
Supplying the data behind a chart in an IronPPT presentation runs through ChartDataSource, the model that represents the series and values a chart draws from. You construct one to hold the data a chart renders, keeping the numbers that feed the chart separate from how the chart looks.
The type is created with new ChartDataSource() and used as the data side of a chart, paired with the visual configuration that a ChartStyle carries and a chart kind chosen from the ChartType enumeration in IronPPT.Enums. Treat it as the bound data carrier for a chart rather than a settings bag: it holds what the chart shows, while presentation choices live elsewhere. Because charting builds on the slide model, populate the data source as part of the same flow that adds and arranges slide content.
The add slide how-to builds the slides a chart sits on, and the manage slide how-to covers arranging slide content.
Constructors
ChartDataSource()
Declaration
public ChartDataSource()