AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.4.1 version of this document. Switch to the 8.2.1 version to see the up to date information.

class anychart.core.gauge.pointers.Bar Improve this Doc

Extends: anychart.core.gauge.pointers.Base

Bar pointer class.

Methods Overview

Miscellaneous
position()Getter for bar position.
radius()Getter for bar pointer radius.
width()Getter for bar width.

Methods Description

position

Getter for bar position.

Returns:

anychart.enums.GaugeSidePosition string - Current bar position.

Try it:

Setter for bar position.

Params:

Name Type Default Description
value anychart.enums.GaugeSidePosition | string
center
Value to set.

Returns:

anychart.core.gauge.pointers.Bar - Self instance for method chaining.

radius

Getter for bar pointer radius.

Returns:

string - Current bar pointer radius.

Try it:

Setter for bar pointer radius.

Params:

Name Type Description
value number | string | null Value to set.

Returns:

anychart.core.gauge.pointers.Bar - Self instance for method chaining.

Try it:

width

Getter for bar width.

Returns:

string - Current bar width.

Try it:

Setter for bar width.

Params:

Name Type Description
value number | string | null Value to set.

Returns:

anychart.core.gauge.pointers.Bar - Self instance for method chaining.

Try it: