Chart
The Chart
class, a versatile component within the OpenXMLOffice.Presentation
library, empowers developers to seamlessly integrate various types of charts into PowerPoint presentations. This class supports multiple chart types and configurations, allowing users to add new charts to a slide or replace existing shapes with dynamic and data-driven visualizations.
Basic Code Samples
For each chart family ChartSetting
have its releavent options and settings for customization.
ChartSetting
Options
ChartSetting
OptionsChartDataSetting
Options
ChartDataSetting
OptionsChartGridLinesOptions
Options
ChartGridLinesOptions
OptionsChartLegendOptions
Options
ChartLegendOptions
OptionsChartDataLabel
Options
ChartDataLabel
OptionsThis is base data label class extended by each chart type to give more specific/relavent options
ChartAxesOptions
Options
ChartAxesOptions
OptionsThis properties give control over the X and Y axes. (Relate placement based on your chart option)
ChartSeriesSetting
Options
ChartSeriesSetting
OptionsChartDataPointSettings
Options
ChartDataPointSettings
OptionsEmbedded Excel Component
Embedded excel can be accessed using GetChartWorkBook
return OpenXMLOffice.Excel Worksheet. Refer Worksheet section for more details
Last updated