Table of Contents

Method SetAxisVisible

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

SetAxisVisible(int, bool)

Shows or hides an axis (Excel keeps a hidden axis as delete="1").

public void SetAxisVisible(int axis, bool visible)

Parameters

axis int

The axis' place in Axes.

visible bool

Whether it is shown.

Exceptions

ArgumentOutOfRangeException

There is no such axis.

InvalidOperationException

The chart is a 2016 chart, which is not changed here, or was removed.