Class StockChartChartArea
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartChartArea : EJTagHelper
Constructors
StockChartChartArea()
Declaration
public StockChartChartArea()
Properties
Background
The background
property accepts both hex color codes and rgba color values for customizing the chart area's background.
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, specified as a URL or local image path.
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 StockChartChartAreaBorder Border { get; set; }
Property Value
Type | Description |
---|---|
StockChartChartAreaBorder | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Margin
Defines the margin options for the chart area, specifying the space between the chart container and the chart area. The margin object can customize the left, right, top, and bottom margins.
Declaration
public object Margin { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Opacity
The opacity
property controls the transparency of the background of the chart area.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Width
Defines the width of the chart area element.
Accepts values in percentage
or pixels
.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |