Table of Contents

Method SetAxisTitle

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

SetAxisTitle(ChartAxisKind, string?)

Sets an axis' title, or takes it off.

public DocumentEdit SetAxisTitle(ChartAxisKind axis, string? title)

Parameters

axis ChartAxisKind

The axis: the category axis (a scatter chart's X axis) or the value axis.

title string

The title; null for none.

Returns

DocumentEdit

The edit.

Exceptions

InvalidOperationException

The chart has no such axis (a pie or doughnut chart has none).