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<G.PresentationSetting>
Options
ChartSetting<G.PresentationSetting>
OptionsPresentationSetting
Options
PresentationSetting
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
AdvancedDataLabel
Options (2013)
AdvancedDataLabel
Options (2013)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 GetWorkBookStream
return OpenXMLOffice.Spreadsheet Worksheet. Refer Worksheet section for more details
Last updated