Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • _GaugeBand
    • GaugeBand

Index

Constructors

constructor

  • Returns GaugeBand

Properties

alpha

alpha: number

Opacity of band fill. Will use axis.bandAlpha if not set any.

balloonText

balloonText: string

When rolled-over, band will display balloon if you set some text for this property.

color

color: string

Color of a band.

endValue

endValue: number

End value of a fill.

gradientRatio

gradientRatio: [number]

Example: [-0.2, 0, -0.2]. Will make bands to be filled with color gradients. Negative value means the color will be darker than the original, and positive number means the color will be lighter.

default

[]

id

id: string

Unique id of a band.

innerRadius

innerRadius: any

Inner radius of a band. If not set any, the band will end with the end of minor ticks. Set 0 if you want the band to be drawn to the axis center.

radius

radius: any

Band radius. If not set any, the band will start with the axis outline.

startValue

startValue: number

Start value of a fill.

url

url: string

Gauge band can be clickable and can lead to some page.

Methods

setEndValue

  • setEndValue(value: number): void
  • Sets end value for the band.

    Parameters

    • value: number

    Returns void

setStartValue

  • setStartValue(value: number): void
  • Sets start value for the band.

    Parameters

    • value: number

    Returns void

Generated using TypeDoc