Table of Contents

Method SetCategories

Namespace
DocWright.Word.Editing
Assembly
DocWright.Word.dll

SetCategories(IEnumerable<string>)

Sets the categories of every series.

public DocumentEdit SetCategories(IEnumerable<string> categories)

Parameters

categories IEnumerable<string>

The labels, one for each value of every series.

Returns

DocumentEdit

The edit.

Exceptions

InvalidOperationException

The chart is a scatter chart, which has X values, not categories.