Search results

PointerModel API in React Linear Gauge API component

Interface for a class Pointer

Properties

animationDuration

number

Sets and gets the duration of animation in pointer.

border

BorderModel

Sets and gets the options to customize the style properties of the border for pointers.

color

string

Sets and gets the color of the pointer.

description

string

Sets and gets the description for the pointer.

enableDrag

boolean

Enables or disables the drag movement of pointer to update the pointer value.

height

number

Sets and gets the height of the pointer.

imageUrl

string

Sets and gets the URL path for the image in marker when the marker type is set as 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.

markerType

MarkerType

Sets and gets the type of the marker for pointers in axis.

offset

number | string

Sets and gets the value to position the pointer from the axis.

opacity

number

Sets and gets the opacity of pointer in linear gauge.

placement

Placement

Sets and gets the place of the pointer.

position

Position

Sets and gets the position of the pointer.

radialGradient

RadialGradientModel

Sets and gets the properties to render a radial gradient for the pointer.

roundedCornerRadius

number

Sets and gets the corner radius for pointer.

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.

textStyle

TextStyleModel

Defines the font properties such as font-size, font family and others for the text pointer.

type

Point

Sets and gets the type of pointer in axis. There are two types of pointers: Marker and Bar.

value

number

Sets and gets the value of the pointer in axis.

width

number

Sets and gets the width of the pointer.