Class ChartStyle
Inheritance
Namespace: IronPPT.Models
Assembly: IronPPT.dll
Syntax
public class ChartStyle : Object
ChartStyle is the appearance side of a chart in an IronPPT presentation, the model that captures how a chart looks while a ChartDataSource holds what it shows. You construct one to describe a chart's presentation and keep it separate from the data the chart renders.
Create it with new ChartStyle() and use it alongside a ChartDataSource, which holds the values, and a chart kind selected from the ChartType enumeration in IronPPT.Enums. Keeping style and data in separate objects means the same data can be presented different ways, and a styling choice can be reused across charts without copying the data. Because charts are placed on slides, apply the style as part of the same flow that builds and arranges slide content, rather than treating it as a standalone step that runs on its own.
The add slide how-to builds the slides a chart sits on, and the manage slide how-to covers arranging that content.
Constructors
ChartStyle()
Declaration
public ChartStyle()