Class StockChartChartAreaBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartChartAreaBuilder
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartChartAreaBuilder : ControlBuilder
Constructors
StockChartChartAreaBuilder()
Declaration
public StockChartChartAreaBuilder()
StockChartChartAreaBuilder(StockChartChartArea)
Declaration
public StockChartChartAreaBuilder(StockChartChartArea model)
Parameters
Type | Name | Description |
---|---|---|
StockChartChartArea | model |
Methods
Background(String)
The background
property accepts both hex color codes and rgba color values for customizing the chart area's background.
Declaration
public StockChartChartAreaBuilder Background(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
BackgroundImage(String)
The background image of the chart area, specified as a URL or local image path.
Declaration
public StockChartChartAreaBuilder BackgroundImage(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Border(StockChartChartAreaBorder)
Options to customize the border of the chart area.
Declaration
public StockChartChartAreaBuilder Border(StockChartChartAreaBorder value)
Parameters
Type | Name | Description |
---|---|---|
StockChartChartAreaBorder | value |
Returns
Border(Action<StockChartBorderBuilder>)
Declaration
public StockChartChartAreaBuilder Border(Action<StockChartBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<StockChartBorderBuilder> | border |
Returns
Margin(Object)
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 StockChartChartAreaBuilder Margin(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Opacity(Double)
The opacity
property controls the transparency of the background of the chart area.
Declaration
public StockChartChartAreaBuilder Opacity(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Width(String)
Defines the width of the chart area element.
Accepts values in percentage
or pixels
.
Declaration
public StockChartChartAreaBuilder Width(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |