GaugeBand
Type class
Creates a band for a specified value range on the GaugeAxis. Multiple bands can be assigned to a single GaugeAxis.
Example
```js var chart = AmCharts.makeChart("chartdiv",{ ... "axes": [ { ... "bands": [ { "startValue": 0, "endValue": 100 } ] } ] });```Sources
This information about GaugeBand is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
GaugeBand does not extend any other symbol.
GaugeBand is not extended by any other symbol.
Properties
alphaType
numberOpacity of band fill. Will use axis.bandAlpha if not set any.
balloonTextType
stringWhen rolled-over, band will display balloon if you set some text for this property.
colorType
colorColor of a band.
endValueType
numberEnd value of a fill.
gradientRatioType
number[]Default[]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.
idType
stringUnique id of a band.
innerRadiusType
number/stringInner 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.
radiusType
number/stringBand radius. If not set any, the band will start with the axis outline.
startValueType
numberStart value of a fill.
urlType
stringGauge band can be clickable and can lead to some page.
Methods
setEndValue()Returns
voidSets end value for the band.
value
setStartValue()Returns
voidSets start value for the band.
value
Events
clickBandParam { type:
"clickBand", target:GaugeBand} &{type: "clickBand", dataItem: GaugeBand, chart: Object, event: MouseEvent}Dispatched when user clicks on a band.
rollOutBandParam { type:
"rollOutBand", target:GaugeBand} &{type: "rollOutBand", dataItem: GaugeBand, chart: Object, event: MouseEvent}Dispatched when user rolls-out of the band.
rollOverBandParam { type:
"rollOverBand", target:GaugeBand} &{type: "rollOverBand", dataItem: GaugeBand, chart: Object, event: MouseEvent}Dispatched when user rolls-over the band.