Class ChartLinearGradient
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
ChartLinearGradient
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartLinearGradient : EJTagHelper
Constructors
ChartLinearGradient()
Declaration
public ChartLinearGradient()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
| Type |
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> |
GradientColorStop
The collection of color stops in the gradient.
Declaration
public object GradientColorStop { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The default value is null |
X1
The x-coordinate of the gradient start point.
Declaration
public double X1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 0 |
X2
The x-coordinate of the gradient end point.
Declaration
public double X2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 1 |
Y1
The y-coordinate of the gradient start point.
Declaration
public double Y1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 0 |
Y2
The y-coordinate of the gradient end point.
Declaration
public double Y2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 1 |