GaugeArrow

Type class

Creates an arrow for AmAngularGauge charts, multiple can be assigned.

Example

var chart = AmCharts.makeChart("chartdiv",{
  ...
  "arrows": [
    {
      "value": 10
    }
  ]
});

Inheritance

GaugeArrow does not extend any other symbol.

GaugeArrow is not extended by any other symbol.

Properties

alpha
#

Type number

Default 1

Opacity of an arrow.

axis
#

Type GaugeAxis

Default GaugeAxis

Axis of the arrow. You can use reference to the axis or id of the axis. If you don't set any axis, the first axis of a chart will be used.

borderAlpha
#

Type number

Default 1

Opacity of arrow border.

clockWiseOnly
#

Type boolean

Default false

In case you need the arrow to rotate only clock-wise, set this property to true.

color
#

Type color

Default #000000

Color of an arrow.

id
#

Type string

Unique id of an arrow.

innerRadius
#

Type number/string

Default 0

Inner radius of an arrow.

nailAlpha
#

Type number

Default 1

Opacity of a nail, holding the arrow.

nailBorderAlpha
#

Type number

Default 0

Opacity of nail border.

nailBorderThickness
#

Type number

Default 1

Thickness of nail border.

nailRadius
#

Type number

Default 8

Radius of a nail, holding the arrow.

radius
#

Type number/string

Default 90%

Radius of an arrow.

startWidth
#

Type number

Default 8

Width of arrow root.

value
#

Type number

Value to which the arrow should point at.

Methods

setValue(
  value
)

#

Returns void

Sets value for the arrow. Arrow will animate to this value if you do it after chart is written to it's container.

value - number

Events

GaugeArrow does not have any events.

Adapters

GaugeArrow does not have any adapters.