PointerModel
23 Sep 20252 minutes to read
Interface for a class Pointer
Properties
animation AnimationModel
Sets and gets the options for the animation of the pointers that propagate while rendering the axis and updating the pointer value in the circular gauge.
border BorderModel
Sets and gets the options to customize the style properties of the border for the needle pointer in an axis.
cap CapModel
Sets and gets the options to customize the cap element of the needle pointer in an axis.
color string
Sets and gets the color of the pointer in an axis.
description string
Sets and gets the information about pointer for assistive technology.
enableDrag boolean
Enables and disables drag movement of the pointer in the circular gauge.
imageUrl string
Sets and gets the URL for the image that is to be displayed as pointer.
It requires marker shape value to be Image.
linearGradient LinearGradientModel
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.
markerHeight number
Sets and gets the height of the marker pointer in an axis.
markerShape GaugeShape
Sets and gets the shape of the marker pointer in an axis.
markerWidth number
Sets and gets the width of the marker pointer in an axis.
needleEndWidth number
Sets or gets the width at the ending edge of the needle pointer in an axis.
needleStartWidth number
Sets or gets the width at the starting edge of the needle pointer in an axis.
needleTail NeedleTailModel
Sets and gets the options to customize the tail element of the needle pointer in an axis.
offset number|string
Sets and gets the offset value of pointer from scale.
pointerWidth number
Sets and gets the width of the pointer in axis.
position PointerRangePosition
Sets and gets the position of pointer for an axis.
radialGradient RadialGradientModel
Sets and gets the properties to render a radial gradient for pointer.
radius string
Sets and gets the radius of pointer for marker and range type pointer and fix length of pointer for needle pointer.
roundedCornerRadius number
Sets and gets the corner radius for pointer in axis.
text string
Sets and gets the text for the marker pointer. To render the text in the marker pointer, the marker shape must be set as Text.
textStyle FontModel
Sets and gets the style of text in marker pointer of an axis.
type PointerType
Sets and gets the type of pointer for an axis in Circular gauge.
value number
Sets and gets the value of the pointer in circular gauge.