Class ChartArea
Inherited Members
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartArea : EJTagHelper
Constructors
ChartArea()
Declaration
public ChartArea()
Properties
Background
The background of the chart area that accepts value in hex and rgba as a valid CSS color string..
Declaration
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "transparent" |
BackgroundImage
The background image of the chart area that accepts value in string as url link or location of an image.
Declaration
public string BackgroundImage { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Border
Options to customize the border of the chart area.
Declaration
public ChartBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartBorder | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
Opacity
The opacity for background.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Width
Defines the width for the chart area element. Takes value in percentage and in pixel.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |