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

Represents a floating chart on a spreadsheet sheet.

Declaration
public SheetChart()

Properties

AnchorModelink

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

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

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

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

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

Gets or sets the optional name.

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

RawChartXmllink

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

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

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

Gets or sets the chart title.

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

Tolink

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

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 🗙