Class Chart
Inheritance
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.EJ2.dll
Syntax
public class Chart : EJTagHelper
Constructors
Chart()
Declaration
public Chart()
Properties
DataLabelSettings
The data label for the series.
Declaration
public SpreadsheetDataLabelSettings DataLabelSettings { get; set; }
Property Value
Type | Description |
---|---|
SpreadsheetDataLabelSettings | The default value is null |
Height
Specifies the height of the chart.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 290 |
Id
Specifies chart element id.
Declaration
public override string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Overrides
IsSeriesInRows
Specifies to switch the row or a column.
Declaration
public bool IsSeriesInRows { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Left
Specifies the left side of the chart.
Declaration
public int Left { get; set; }
Property Value
Type |
---|
System.Int32 |
LegendSettings
Options for customizing the legend of the chart.
Declaration
public SpreadsheetLegendSettings LegendSettings { get; set; }
Property Value
Type | Description |
---|---|
SpreadsheetLegendSettings | The default value is null |
MarkerSettings
Options to configure the marker
Declaration
public SpreadsheetMarkerSettings MarkerSettings { get; set; }
Property Value
Type | Description |
---|---|
SpreadsheetMarkerSettings | The default value is null |
PrimaryXAxis
Options to configure the horizontal axis.
Declaration
public SpreadsheetAxis PrimaryXAxis { get; set; }
Property Value
Type | Description |
---|---|
SpreadsheetAxis | The default value is null |
PrimaryYAxis
Options to configure the vertical axis.
Declaration
public SpreadsheetAxis PrimaryYAxis { get; set; }
Property Value
Type | Description |
---|---|
SpreadsheetAxis | The default value is null |
Range
Specifies the selected range or specified range.
Declaration
public string Range { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Theme
Specifies the theme of a chart.
Declaration
public ChartTheme Theme { get; set; }
Property Value
Type | Description |
---|---|
ChartTheme | The default value is ChartTheme.Material |
Title
Title of the chart
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Top
Specifies the top position of the chart.
Declaration
public int Top { get; set; }
Property Value
Type |
---|
System.Int32 |
Type
Specifies the type of a chart.
Declaration
public ChartType Type { get; set; }
Property Value
Type | Description |
---|---|
ChartType | The default value is ChartType.Line |
Width
Specifies the width of the chart.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 480 |