Class LinearGaugePointer
Inheritance
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
public double RoundedCornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 10 |
Text
Specifies the text that will be displayed as the pointer in Linear Gauge. To display the text pointer, the markerType
property must be set to Text
.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
TextStyle
Defines the font properties such as font-size, font family and others for the text pointer.
Declaration
public object TextStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Type
Sets and gets the type of pointer in axis. There are two types of pointers: Marker and Bar.
Declaration
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
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
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 20 |