Class StockChartChartAreaBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartChartAreaBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.AspNetMvc.StockChart.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
| Type |
|---|
| StockChartChartAreaBuilder |
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
| Type |
|---|
| StockChartChartAreaBuilder |
Border(StockChartChartAreaBorder)
Options to customize the border of the chart area.
Declaration
public StockChartChartAreaBuilder Border(StockChartChartAreaBorder value)
Parameters
| Type | Name | Description |
|---|---|---|
| StockChartChartAreaBorder | value |
Returns
| Type |
|---|
| StockChartChartAreaBuilder |
Border(Action<StockChartBorderBuilder>)
Declaration
public StockChartChartAreaBuilder Border(Action<StockChartBorderBuilder> border)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<StockChartBorderBuilder> | border |
Returns
| Type |
|---|
| StockChartChartAreaBuilder |
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
| Type |
|---|
| StockChartChartAreaBuilder |
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
| Type |
|---|
| StockChartChartAreaBuilder |
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 |
Returns
| Type |
|---|
| StockChartChartAreaBuilder |