Method SetLegend
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
SetLegend(XlsxLegendPosition?)
Gives the chart a legend at a position, or none.
public void SetLegend(XlsxLegendPosition? position)
Parameters
positionXlsxLegendPosition?Where the legend is; null for no legend.
Exceptions
- InvalidOperationException
The chart is a 2016 chart, which is not changed here, or was removed.