Class LinearGaugePointerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugePointerBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugePointerBuilder : ControlBuilder
Constructors
LinearGaugePointerBuilder()
Declaration
public LinearGaugePointerBuilder()
LinearGaugePointerBuilder(List<LinearGaugePointer>)
Declaration
public LinearGaugePointerBuilder(List<LinearGaugePointer> collection)
Parameters
Methods
Add()
Declaration
AnimationDuration(Double)
Sets and gets the duration of animation in pointer.
Declaration
public LinearGaugePointerBuilder AnimationDuration(double animationDuration)
Parameters
Type |
Name |
Description |
System.Double |
animationDuration |
|
Returns
Border(LinearGaugeBorder)
Sets and gets the options to customize the style properties of the border for pointers.
Declaration
public LinearGaugePointerBuilder Border(LinearGaugeBorder border)
Parameters
Returns
Border(Action<LinearGaugeBorderBuilder>)
Declaration
public LinearGaugePointerBuilder Border(Action<LinearGaugeBorderBuilder> border)
Parameters
Returns
Color(String)
Sets and gets the color of the pointer.
Declaration
public LinearGaugePointerBuilder Color(string color)
Parameters
Type |
Name |
Description |
System.String |
color |
|
Returns
Description(String)
Sets and gets the description for the pointer.
Declaration
public LinearGaugePointerBuilder Description(string description)
Parameters
Type |
Name |
Description |
System.String |
description |
|
Returns
EnableDrag(Boolean)
Enables or disables the drag movement of pointer to update the pointer value.
Declaration
public LinearGaugePointerBuilder EnableDrag(bool enableDrag)
Parameters
Type |
Name |
Description |
System.Boolean |
enableDrag |
|
Returns
Height(Double)
Sets and gets the height of the pointer.
Declaration
public LinearGaugePointerBuilder Height(double height)
Parameters
Type |
Name |
Description |
System.Double |
height |
|
Returns
ImageUrl(String)
Sets and gets the URL path for the image in marker when the marker type is set as image.
Declaration
public LinearGaugePointerBuilder ImageUrl(string imageUrl)
Parameters
Type |
Name |
Description |
System.String |
imageUrl |
|
Returns
LinearGradient(LinearGaugeLinearGradient)
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 LinearGaugePointerBuilder LinearGradient(LinearGaugeLinearGradient linearGradient)
Parameters
Returns
LinearGradient(Action<LinearGaugeLinearGradientBuilder>)
Declaration
public LinearGaugePointerBuilder LinearGradient(Action<LinearGaugeLinearGradientBuilder> linearGradient)
Parameters
Returns
MarkerType(MarkerType)
Sets and gets the type of the marker for pointers in axis.
Declaration
public LinearGaugePointerBuilder MarkerType(MarkerType markerType)
Parameters
Returns
Offset(Double)
Sets and gets the value to position the pointer from the axis.
Declaration
public LinearGaugePointerBuilder Offset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
Returns
Offset(String)
Sets and gets the value to position the pointer from the axis.
Declaration
public LinearGaugePointerBuilder Offset(string offset)
Parameters
Type |
Name |
Description |
System.String |
offset |
|
Returns
Opacity(Double)
Sets and gets the opacity of pointer in linear gauge.
Declaration
public LinearGaugePointerBuilder Opacity(double opacity)
Parameters
Type |
Name |
Description |
System.Double |
opacity |
|
Returns
Placement(Placement)
Sets and gets the place of the pointer.
Declaration
public LinearGaugePointerBuilder Placement(Placement placement)
Parameters
Returns
Position(Position)
Sets and gets the position of the pointer.
Declaration
public LinearGaugePointerBuilder Position(Position position)
Parameters
Returns
RadialGradient(LinearGaugeRadialGradient)
Sets and gets the properties to render a radial gradient for the pointer.
Declaration
public LinearGaugePointerBuilder RadialGradient(LinearGaugeRadialGradient radialGradient)
Parameters
Returns
RadialGradient(Action<LinearGaugeRadialGradientBuilder>)
Declaration
public LinearGaugePointerBuilder RadialGradient(Action<LinearGaugeRadialGradientBuilder> radialGradient)
Parameters
Returns
RoundedCornerRadius(Double)
Sets and gets the corner radius for pointer.
Declaration
public LinearGaugePointerBuilder RoundedCornerRadius(double roundedCornerRadius)
Parameters
Type |
Name |
Description |
System.Double |
roundedCornerRadius |
|
Returns
Text(String)
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 LinearGaugePointerBuilder Text(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
TextStyle(Object)
Defines the font properties such as font-size, font family and others for the text pointer.
Declaration
public LinearGaugePointerBuilder TextStyle(object textStyle)
Parameters
Type |
Name |
Description |
System.Object |
textStyle |
|
Returns
Type(Point)
Sets and gets the type of pointer in axis. There are two types of pointers: Marker and Bar.
Declaration
public LinearGaugePointerBuilder Type(Point type)
Parameters
Type |
Name |
Description |
Point |
type |
|
Returns
Value(Double)
Sets and gets the value of the pointer in axis.
Declaration
public LinearGaugePointerBuilder Value(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Width(Double)
Sets and gets the width of the pointer.
Declaration
public LinearGaugePointerBuilder Width(double width)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
Returns