Table of Contents

Method ChangeType

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

ChangeType(XlsxChartType)

Changes the chart's type: its plot and its axes are written again for the new type with the same series (their look the new type's), the rest of the chart as it is.

public void ChangeType(XlsxChartType type)

Parameters

type XlsxChartType

The new type: any but the stock, surface, combination and 2016 types.

Exceptions

ArgumentException

The type is not made here.

InvalidOperationException

The chart is a combination, a 2016 chart, or was removed.