Class ChartArea
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
[HtmlAttributeName("background")]
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
[HtmlAttributeName("backgroundImage")]
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
[HtmlAttributeName("border")]
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
[HtmlAttributeName("opacity")]
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
[HtmlAttributeName("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |