SheetChart Class

Represents a floating chart on a spreadsheet sheet.

Inheritance

Object

Documents.Spreadsheet.SheetChart

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class SheetChart : Documents.Spreadsheet.IAnchoredDrawing

Constructors

SheetChartLink to this section

Represents a floating chart on a spreadsheet sheet.

Declaration
public SheetChart()

Properties

AnchorModeLink to this section

Gets or sets the anchor mode.

Declaration
public Documents.Spreadsheet.DrawingAnchorMode AnchorMode { get; set; }
Property Value
Type Description
Documents.Spreadsheet.DrawingAnchorModeGets or sets the anchor mode.

ChartTypeLink to this section

Gets or sets the chart type.

Declaration
public Documents.Spreadsheet.SpreadsheetChartType ChartType { get; set; }
Property Value
Type Description
Documents.Spreadsheet.SpreadsheetChartTypeGets or sets the chart type.

FromLink to this section

Gets or sets the starting anchor position.

Declaration
public Documents.Spreadsheet.CellAnchor From { get; set; }
Property Value
Type Description
Documents.Spreadsheet.CellAnchorGets or sets the starting anchor position.

HeightLink to this section

Gets or sets the chart height in pixels (OneCellAnchor only).

Declaration
public double Height { get; set; }
Property Value
Type Description
doubleGets or sets the chart height in pixels (OneCellAnchor only).

LegendPositionLink to this section

Gets or sets the legend position.

Declaration
public Documents.Spreadsheet.ChartLegendPosition LegendPosition { get; set; }
Property Value
Type Description
Documents.Spreadsheet.ChartLegendPositionGets or sets the legend position.

NameLink to this section

Gets or sets the optional name.

Declaration
public string Name { get; set; }
Property Value
Type Description
stringGets or sets the optional name.

RawChartXmlLink to this section

Gets or sets the raw chart XML for lossless XLSX round-tripping.

Declaration
public string RawChartXml { get; set; }
Property Value
Type Description
stringGets or sets the raw chart XML for lossless XLSX round-tripping.

SeriesLink to this section

Gets or sets the series definitions.

Declaration
public List<Documents.Spreadsheet.ChartSeries> Series { get; set; }
Property Value
Type Description
List<Documents.Spreadsheet.ChartSeries>Gets or sets the series definitions.

ShowLegendLink to this section

Gets or sets whether the legend is visible.

Declaration
public bool ShowLegend { get; set; }
Property Value
Type Description
boolGets or sets whether the legend is visible.

TitleLink to this section

Gets or sets the chart title.

Declaration
public string Title { get; set; }
Property Value
Type Description
stringGets or sets the chart title.

ToLink to this section

Gets or sets the ending anchor position (TwoCellAnchor only).

Declaration
public Documents.Spreadsheet.CellAnchor To { get; set; }
Property Value
Type Description
Documents.Spreadsheet.CellAnchorGets or sets the ending anchor position (TwoCellAnchor only).

WidthLink to this section

Gets or sets the chart width in pixels (OneCellAnchor only).

Declaration
public double Width { get; set; }
Property Value
Type Description
doubleGets or sets the chart width in pixels (OneCellAnchor only).
An error has occurred. This app may no longer respond until reloaded. Reload 🗙