Table of Contents

Enum ChartType

Namespace
DocToolkit
Assembly
DocToolkit.Primitives.dll

The chart shapes AddChart methods on WorkbookEditor and PresentationEditor can create — one closed vocabulary shared by both, mirroring OfficeIMO's own OfficeChartKind, minus two values that do not fit the shared categories-and-value-series ChartData shape, so nothing here can drift from what the renderer beneath actually draws.

OfficeChartKind also has Scatter and Bubble, deliberately excluded here: measured directly against both the Excel and PowerPoint chart APIs, both reject a ChartData built from this ticket's model — Excel's Scatter path requires numeric X values where Categories is a string label, PowerPoint's Scatter path rejects the same shape for the identical reason, Excel's shared chart API refuses Bubble outright ("not supported by the shared Excel chart API"), and PowerPoint's Bubble path requires a bubble size per point this model has no field for. A future chart feature could add a companion X/Y-and-size data type for these two; forcing them into this one would have shipped two enum values that always throw.

public enum ChartType

Fields

Area = 9

Area chart.

AreaStacked = 10

Stacked area chart.

AreaStacked100 = 11

100% stacked area chart.

BarClustered = 3

Clustered bar chart.

BarStacked = 4

Stacked bar chart.

BarStacked100 = 5

100% stacked bar chart.

ColumnClustered = 0

Clustered column chart.

ColumnStacked = 1

Stacked column chart.

ColumnStacked100 = 2

100% stacked column chart.

Doughnut = 14

Doughnut chart.

Line = 6

Line chart.

LineStacked = 7

Stacked line chart.

LineStacked100 = 8

100% stacked line chart.

Pie = 13

Pie chart.

Radar = 12

Radar chart.