Method SetKind
SetKind(ChartKind, ChartGrouping, bool)
Changes the chart's kind: the plot and its axes are written again for the kind, with the series' names, categories and values; what else the old plot stated of its series (their colours, labels, markers) is not carried to the new kind, as Word's Change Chart Type gives the new kind's defaults.
public DocumentEdit SetKind(ChartKind kind, ChartGrouping grouping = ChartGrouping.Clustered, bool horizontal = false)
Parameters
kindChartKindThe new kind.
groupingChartGroupingThe grouping of a bar, line or area chart.
horizontalboolWhether a bar chart's bars lie horizontally.
Returns
- DocumentEdit
The edit.