Represents a floating chart on a spreadsheet sheet.
Object
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public class SheetChart : Documents.Spreadsheet.IAnchoredDrawingGets or sets the anchor mode.
public Documents.Spreadsheet.DrawingAnchorMode AnchorMode { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.DrawingAnchorMode | Gets or sets the anchor mode. |
Gets or sets the chart type.
public Documents.Spreadsheet.SpreadsheetChartType ChartType { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.SpreadsheetChartType | Gets or sets the chart type. |
Gets or sets the starting anchor position.
public Documents.Spreadsheet.CellAnchor From { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.CellAnchor | Gets or sets the starting anchor position. |
Gets or sets the chart height in pixels (OneCellAnchor only).
public double Height { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the chart height in pixels (OneCellAnchor only). |
Gets or sets the legend position.
public Documents.Spreadsheet.ChartLegendPosition LegendPosition { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.ChartLegendPosition | Gets or sets the legend position. |
Gets or sets the optional name.
public string Name { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the optional name. |
Gets or sets the raw chart XML for lossless XLSX round-tripping.
public string RawChartXml { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the raw chart XML for lossless XLSX round-tripping. |
Gets or sets the series definitions.
public List<Documents.Spreadsheet.ChartSeries> Series { get; set; }
| Type | Description |
|---|---|
| List<Documents.Spreadsheet.ChartSeries> | Gets or sets the series definitions. |
Gets or sets whether the legend is visible.
public bool ShowLegend { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether the legend is visible. |
Gets or sets the chart title.
public string Title { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the chart title. |
Gets or sets the ending anchor position (TwoCellAnchor only).
public Documents.Spreadsheet.CellAnchor To { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.CellAnchor | Gets or sets the ending anchor position (TwoCellAnchor only). |
Gets or sets the chart width in pixels (OneCellAnchor only).
public double Width { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the chart width in pixels (OneCellAnchor only). |