Class LinearGaugePointer
Inherited Members
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugePointer : EJTagHelper
Constructors
LinearGaugePointer()
Declaration
public LinearGaugePointer()
Properties
AnimationDuration
Sets and gets the duration of animation in pointer.
Declaration
[HtmlAttributeName("animationDuration")]
public double AnimationDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
Border
Sets and gets the options to customize the style properties of the border for pointers.
Declaration
[HtmlAttributeName("border")]
public LinearGaugeBorder Border { get; set; }
Property Value
Type | Description |
---|---|
LinearGaugeBorder | The default value is null |
Color
Sets and gets the color of the pointer.
Declaration
[HtmlAttributeName("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Description
Sets and gets the description for the pointer.
Declaration
[HtmlAttributeName("description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
EnableDrag
Enables or disables the drag movement of pointer to update the pointer value.
Declaration
[HtmlAttributeName("enableDrag")]
public bool EnableDrag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Height
Sets and gets the height of the pointer.
Declaration
[HtmlAttributeName("height")]
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 20 |
ImageUrl
Sets and gets the URL path for the image in marker when the marker type is set as image.
Declaration
[HtmlAttributeName("imageUrl")]
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
LinearGradient
Sets and gets the properties to render a linear gradient for the pointer. If both linear and radial gradient is set, then the linear gradient will be rendered in the pointer.
Declaration
[HtmlAttributeName("linearGradient")]
public LinearGaugeLinearGradient LinearGradient { get; set; }
Property Value
Type | Description |
---|---|
LinearGaugeLinearGradient | The default value is null |
MarkerType
Sets and gets the type of the marker for pointers in axis.
Declaration
[HtmlAttributeName("markerType")]
public MarkerType MarkerType { get; set; }
Property Value
Type | Description |
---|---|
MarkerType | The default value is MarkerType.InvertedTriangle |
Offset
Sets and gets the value to position the pointer from the axis.
Declaration
[HtmlAttributeName("offset")]
public string Offset { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "0" |
Opacity
Sets and gets the opacity of pointer in linear gauge.
Declaration
[HtmlAttributeName("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Placement
Sets and gets the place of the pointer.
Declaration
[HtmlAttributeName("placement")]
public Placement Placement { get; set; }
Property Value
Type | Description |
---|---|
Placement | The default value is Syncfusion.EJ2.LinearGauge.Placement.Far |
Position
Sets and gets the position of the pointer.
Declaration
[HtmlAttributeName("position")]
public Position Position { get; set; }
Property Value
Type | Description |
---|---|
Position | The default value is Syncfusion.EJ2.LinearGauge.Position.Auto |
RadialGradient
Sets and gets the properties to render a radial gradient for the pointer.
Declaration
[HtmlAttributeName("radialGradient")]
public LinearGaugeRadialGradient RadialGradient { get; set; }
Property Value
Type | Description |
---|---|
LinearGaugeRadialGradient | The default value is null |
RoundedCornerRadius
Sets and gets the corner radius for pointer.
Declaration
[HtmlAttributeName("roundedCornerRadius")]
public double RoundedCornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 10 |
Type
Sets and gets the type of pointer in axis. There are two types of pointers: Marker and Bar.
Declaration
[HtmlAttributeName("type")]
public Point Type { get; set; }
Property Value
Type | Description |
---|---|
Point | The default value is Point.Marker |
Value
Sets and gets the value of the pointer in axis.
Declaration
[HtmlAttributeName("value")]
public double Value { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Width
Sets and gets the width of the pointer.
Declaration
[HtmlAttributeName("width")]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 20 |