A Radial Gauge presents a single data point within a predefined range using a circular scale. The data is represented by a needle or bar indicating the value.
Simple Radial Gauge Copy Link
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 80,
scale: {
min: 0,
max: 100,
},
};
}
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
To create a Radial Gauge, use the createGauge API with the type radial-gauge.
@Component({
selector: 'app-root',
standalone: true,
imports: [AgGauge],
template: `<ag-gauge [options]="options"></ag-gauge>`,
})
export class AppComponent {
public options: AgRadialGaugeOptions;
constructor() {
this.options = {
type: 'radial-gauge',
value: 80,
scale: {
min: 0,
max: 100,
},
};
}
}In this configuration:
valueis the value displayed by the gauge.scale.mindefines the minimum value of the scale.scale.maxdefines the maximum value of the scale.- The data is represented by a coloured bar displayed over a grey scale.
Customisation Copy Link
Needle / Bar Copy Link
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
import clone from "clone";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<div class="example-controls">
<div class="controls-row">
<div class="button-group gap-right" role="group" aria-label="Needle">
<input type="radio" id="needle-hide" name="needle" value="false" (change)="setNeedleEnabled($event)">
<label for="needle-hide">Hide Needle</label>
<input type="radio" id="needle-show" name="needle" value="true" checked="" (change)="setNeedleEnabled($event)">
<label for="needle-show">Show Needle</label>
</div>
<div class="button-group" role="group" aria-label="Bar">
<input type="radio" id="bar-hide" name="bar" value="false" checked="" (change)="setBarEnabled($event)">
<label for="bar-hide">Hide Bar</label>
<input type="radio" id="bar-show" name="bar" value="true" (change)="setBarEnabled($event)">
<label for="bar-show">Show Bar</label>
</div>
</div>
</div>
<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 80,
scale: {
min: 0,
max: 100,
},
needle: {
enabled: true,
},
bar: {
enabled: false,
},
};
}
setNeedleEnabled = (event: Event) => {
const options = clone(this.options);
options.needle!.enabled =
(event.target as HTMLInputElement).value === "true";
this.options = options;
};
setBarEnabled = (event: Event) => {
const options = clone(this.options);
options.bar!.enabled = (event.target as HTMLInputElement).value === "true";
this.options = options;
};
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
It is possible to display the data value using a bar, a needle or both. These are both rendered over the scale.
{
needle: {
enabled: true,
},
bar: {
enabled: false,
},
}In the above example, note that:
- When the needle is enabled, the label is not shown.
- When the bar is disabled, the scale defaults to showing the gradient colour instead of the solid grey.
For customisation of both the bar and needle, see below or the API Reference.
Labels Copy Link
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 80,
scale: {
min: 0,
max: 100,
label: {
enabled: false,
},
},
label: {
formatter({ value }) {
return `${value.toFixed(0)}%`;
},
},
secondaryLabel: {
text: "Test Score",
},
};
}
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
Up to two inner labels can be configured with the label and secondaryLabel properties.
{
label: {
formatter({ value }) {
return `${value.toFixed(0)}%`;
},
},
secondaryLabel: {
text: 'Test Score',
},
scale: {
label: {
enabled: false,
},
},
}In this configuration:
- The first label uses a
formatterto format the value. - The second label displays a fixed
textstring. This option is only available for inner labels. - The scale labels are hidden using the
scale.label.enabledoption. See the API Reference for more details about customising the scale label style and interval.
Segmentation Copy Link
To split the gauge into segments, set segmentation.enabled to true.
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
import clone from "clone";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<div class="example-controls">
<div class="controls-row">
<div class="button-group" role="group" aria-label="Segmentation Interval">
<input type="radio" id="segmentation-step" name="segmentation-interval" value="step" (change)="setSegmentationInterval($event)">
<label for="segmentation-step">Step: 10</label>
<input type="radio" id="segmentation-count" name="segmentation-interval" value="count" checked="" (change)="setSegmentationInterval($event)">
<label for="segmentation-count">Count: 4</label>
<input type="radio" id="segmentation-values" name="segmentation-interval" value="values" (change)="setSegmentationInterval($event)">
<label for="segmentation-values">Values: [40, 50, 60]</label>
</div>
</div>
</div>
<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 85,
scale: {
min: 0,
max: 100,
},
segmentation: {
enabled: true,
interval: {
count: 4,
},
spacing: 2,
},
};
}
setSegmentationInterval = (event: Event) => {
const options = clone(this.options);
switch ((event.target as HTMLInputElement).value) {
case "step":
options.segmentation!.interval = { step: 10 };
break;
case "count":
options.segmentation!.interval = { count: 4 };
break;
case "values":
options.segmentation!.interval = { values: [40, 50, 60] };
break;
}
this.options = options;
};
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
{
segmentation: {
enabled: true,
interval: {
count: 4,
},
spacing: 2,
},
}In this configuration:
segmentation.intervalspecifies how the gauge is segmented. Available options are:step- segments the gauge at a fixed interval.count- segments the gauge a fixed number of times.values- segments the gauge at specific scale values.
spacingdefines the spacing between each segment.
Corner Radius Copy Link
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
import clone from "clone";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<div class="example-controls">
<div class="controls-row">
<span>Segmentation:</span>
<div class="button-group gap-right" role="group" aria-label="Segmentation">
<input type="radio" id="segmentation-enabled" name="segmentation-mode" value="true" (change)="setSegmentation($event)">
<label for="segmentation-enabled">Enable</label>
<input type="radio" id="segmentation-disabled" name="segmentation-mode" value="false" checked="" (change)="setSegmentation($event)">
<label for="segmentation-disabled">Disable</label>
</div>
<span>Corners:</span>
<div class="button-group" role="group" aria-label="Corners">
<input type="radio" id="corner-mode-item" name="corner-mode" value="item" (change)="setCornerMode($event)">
<label for="corner-mode-item">Item</label>
<input type="radio" id="corner-mode-container" name="corner-mode" value="container" checked="" (change)="setCornerMode($event)">
<label for="corner-mode-container">Container</label>
</div>
</div>
</div>
<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 85,
scale: {
min: 0,
max: 100,
},
cornerRadius: 99,
cornerMode: "container",
segmentation: {
enabled: false,
interval: {
count: 4,
},
spacing: 2,
},
};
}
setCornerMode = (event: Event) => {
const options = clone(this.options);
options.cornerMode = (event.target as HTMLInputElement).value as
| "container"
| "item";
this.options = options;
};
setSegmentation = (event: Event) => {
const options = clone(this.options);
options.segmentation!.enabled =
(event.target as HTMLInputElement).value === "true";
this.options = options;
};
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
{
cornerRadius: 99,
cornerMode: 'container',
}In this configuration:
cornerRadiusspecifies the amount of curvature applied to each corner.cornerModecan be set tocontainerto apply rounded corners only to the start and end of the gauge, oritemfor all visual items within the gauge.
Start and End Angles Copy Link
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 80,
scale: {
min: 0,
max: 100,
},
startAngle: -135,
endAngle: 135,
};
}
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
The startAngle and endAngle properties can be used to customise the start and end position of the gauge.
{
startAngle: -135,
endAngle: 135,
}- Angles are calculated clockwise, starting from the top of the gauge.
Colour Options Copy Link
Single Colour Copy Link
Both the bar and scale can be displayed using a solid fill.
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 80,
scale: {
min: 0,
max: 100,
fill: "#f5f6fa",
},
bar: {
fill: "#4cd137",
},
};
}
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
{
scale: {
fill: '#f5f6fa',
},
bar: {
fill: '#4cd137',
},
} Multiple Colours Copy Link
Multiple colours can be specified using the fills property.
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
import clone from "clone";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<div class="example-controls">
<div class="controls-row">
Fill Mode:
<div class="button-group" role="group" aria-label="Fill Mode">
<input type="radio" id="fill-mode-continuous" name="fill-mode" value="continuous" (change)="setFillMode($event)">
<label for="fill-mode-continuous">Continuous</label>
<input type="radio" id="fill-mode-discrete" name="fill-mode" value="discrete" checked="" (change)="setFillMode($event)">
<label for="fill-mode-discrete">Discrete</label>
</div>
</div>
</div>
<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 85,
scale: {
min: 0,
max: 100,
},
bar: {
fills: [
{ color: "#00a8ff" },
{ color: "#9c88ff" },
{ color: "#e84118" },
],
fillMode: "discrete",
},
};
}
setFillMode = (event: Event) => {
const options = clone(this.options);
options.bar!.fillMode = (event.target as HTMLInputElement).value as
| "continuous"
| "discrete";
this.options = options;
};
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
{
bar: {
fills: [{ color: '#00a8ff' }, { color: '#9c88ff' }, { color: '#e84118' }],
fillMode: 'discrete',
},
}In this configuration:
fillsspecifies an array of colours to use to fill the bar.fillModecan be set tocontinuousfor a gradient, ordiscreteto use blocks of solid colours.
The default behaviour is to space out the colours evenly. This can be customised by using colour stops.
Colour Stops Copy Link
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 80,
scale: {
min: 0,
max: 100,
},
bar: {
fills: [
{ color: "#E84118", stop: 35 },
{ color: "#FBC531", stop: 45 },
{ color: "#4CD137", stop: 55 },
{ color: "#FBC531", stop: 65 },
{ color: "#E84118" },
],
fillMode: "discrete",
},
};
}
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
{
bar: {
fills: [
{ color: '#E84118', stop: 35 },
{ color: '#FBC531', stop: 45 },
{ color: '#4CD137', stop: 55 },
{ color: '#FBC531', stop: 65 },
{ color: '#E84118' },
],
fillMode: 'discrete',
},
}In this configuration:
- Each colour stops at the
stopvalue, and the next colour begins at that point. - If no
stopis provided, the fills will be distributed equally. - The last colour is used until the end of the scale or bar.
- Both
discreteandcontinuousmodes can be used with colour stops.
Targets Copy Link
Gauges often display targets or thresholds to provide context to the displayed data value. These can be added using the targets configuration array.
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 50,
scale: {
min: 0,
max: 100,
},
targets: [
{
value: 70,
text: "Average",
},
],
};
}
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
{
targets: [
{
value: 70,
text: 'Average',
},
],
}In this configuration:
valueis the position for the target marker.textis an optional string for the target label.
Customisation Copy Link
import { Component } from "@angular/core";
import { AgGauge } from "ag-charts-angular";
import {
AgRadialGaugeOptions,
AllGaugeModule,
AnimationModule,
ContextMenuModule,
CrosshairModule,
LegendModule,
ModuleRegistry,
} from "ag-charts-enterprise";
ModuleRegistry.registerModules([
AllGaugeModule,
AnimationModule,
CrosshairModule,
LegendModule,
ContextMenuModule,
]);
@Component({
selector: "my-app",
standalone: true,
imports: [AgGauge],
template: `<ag-gauge
[options]="options"
></ag-gauge>
`,
})
export class AppComponent {
public options;
constructor() {
this.options = {
type: "radial-gauge",
value: 50,
scale: {
min: 0,
max: 100,
},
targets: [
{
value: 30,
shape: "triangle",
placement: "outside",
fill: "white",
strokeWidth: 2,
spacing: 8,
},
{
value: 75,
placement: "inside",
shape: "triangle",
fill: "white",
strokeWidth: 2,
spacing: 8,
},
{
value: 90,
placement: "middle",
shape: "circle",
fill: "white",
strokeWidth: 2,
spacing: 8,
},
],
};
}
}
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
bootstrapApplication(AppComponent);
{
targets: [
{
value: 30,
shape: 'triangle',
placement: 'outside',
fill: 'white',
strokeWidth: 2,
spacing: 8,
},
{
value: 75,
placement: 'inside',
shape: 'triangle',
fill: 'white',
strokeWidth: 2,
spacing: 8,
},
{
value: 90,
placement: 'middle',
shape: 'circle',
fill: 'white',
strokeWidth: 2,
spacing: 8,
},
],
}In this configuration:
shapeis a marker shape.placementindicates the relative placement to the gauge - eitherinside,outside, ormiddle.sizeis the size of the marker, in pixels.spacingis spacing from the edge of the gauge to the marker. Ignored whenplacementismiddle.
Radial Gauge Chart Examples Copy Link
See more Radial Gauge Chart examples in the AG Charts Gallery.
API Reference Copy Link
Properties available on the AgRadialGaugeOptions interface.
- type required
'radial-gauge' - Configuration for the Radial Gauge.
- value required
AgNumericValue - Value of the Radial Gauge.
- theme
AgChartTheme | AgChartThemeName - container
HTMLElement | null - The element to place the rendered chart into.
- width
PixelSize - The width of the chart in pixels.
- height
PixelSize - The height of the chart in pixels.
- minHeight
PixelSizedefault: 300 - Sets the minimum height of the chart. Ignored if `height` is specified.
- minWidth
PixelSizedefault: 300 - Sets the minimum width of the chart. Ignored if `width` is specified.
- padding
Padding - Configuration for the padding of the chart. A number applies uniform padding; an object sets each side.
- background
AgChartBackground - Configuration for the background shown behind the chart.
- title
AgChartCaptionOptions - Configuration for the title shown at the top of the chart.
- subtitle
AgChartSubtitleOptions - Configuration for the subtitle shown beneath the chart title.
- footnote
AgChartFooterOptions - Configuration for the footnote shown at the bottom of the chart.
- tooltip
AgChartTooltipOptions - Global configuration that applies to all tooltips in the chart.
- animation
AgAnimationOptions - Configuration for chart animations.
- contextMenu
AgContextMenuOptions - Configuration for the context menu.
- context
ContextDefault - Context object to use in callbacks.
- locale
AgLocaleOptions - Configuration for localisation.
- listeners
AgBaseChartListeners - A map of event names to event listeners.
- targets
AgRadialGaugeTarget[] - Configuration for the targets.
- outerRadius
PixelSize - Outer radius of the gauge.
- innerRadius
PixelSize - Inner radius of the gauge.
- outerRadiusRatio
Ratio - Ratio of the outer radius of the gauge.
- innerRadiusRatio
Ratio - Ratio of the inner radius of the gauge.
- startAngle
Degree - Angle in degrees of the start of the gauge.
- endAngle
Degree - Angle in degrees of the end of the gauge.
- segmentation
AgGaugeSegmentation - Configuration for a segmented appearance.
- cornerRadius
number - Apply rounded corners to the gauge.
- cornerMode
AgGaugeCornerModedefault: container - Configuration on whether to apply `cornerRadius` only to the ends of the gauge, or each individual item within the gauge.
- needle
AgRadialGaugeNeedleStyle - Configuration for the needle.
- scale
AgRadialGaugeScale - Configuration for the scale.
- bar
AgRadialGaugeBarStyle - Configuration for the bar.
- label
AgRadialGaugeLabelOptions - Configuration for the labels shown inside the shape.
- secondaryLabel
AgRadialGaugeSecondaryLabelOptions - Configuration for the labels shown inside the shape.
- spacing
PixelSize - Distance between the shape edges and the text.
- cursor
string - The cursor to use for the gauge. This config is identical to the CSS `cursor` property.
- highlight
AgHighlightOptions - Configuration for highlighting when a series or legend item is hovered over.
- selection
AgSelectionOptions - Configuration for data selection.
- nodeClickRange
InteractionRange - Range from a node that a click triggers the listener.
Properties available on the AgRadialGaugeOptions interface.
- type required
'radial-gauge' - Configuration for the Radial Gauge.
- value required
AgNumericValue - Value of the Radial Gauge.
- theme
AgChartTheme | AgChartThemeName - container
HTMLElement | null - The element to place the rendered chart into.
- width
PixelSize - The width of the chart in pixels.
- height
PixelSize - The height of the chart in pixels.
- minHeight
PixelSizedefault: 300 - Sets the minimum height of the chart. Ignored if `height` is specified.
- minWidth
PixelSizedefault: 300 - Sets the minimum width of the chart. Ignored if `width` is specified.
- padding
Padding - Configuration for the padding of the chart. A number applies uniform padding; an object sets each side.
- background
AgChartBackground - Configuration for the background shown behind the chart.
- title
AgChartCaptionOptions - Configuration for the title shown at the top of the chart.
- subtitle
AgChartSubtitleOptions - Configuration for the subtitle shown beneath the chart title.
- footnote
AgChartFooterOptions - Configuration for the footnote shown at the bottom of the chart.
- tooltip
AgChartTooltipOptions - Global configuration that applies to all tooltips in the chart.
- animation
AgAnimationOptions - Configuration for chart animations.
- contextMenu
AgContextMenuOptions - Configuration for the context menu.
- context
ContextDefault - Context object to use in callbacks.
- locale
AgLocaleOptions - Configuration for localisation.
- listeners
AgBaseChartListeners - A map of event names to event listeners.
- targets
AgRadialGaugeTarget[] - Configuration for the targets.
- outerRadius
PixelSize - Outer radius of the gauge.
- innerRadius
PixelSize - Inner radius of the gauge.
- outerRadiusRatio
Ratio - Ratio of the outer radius of the gauge.
- innerRadiusRatio
Ratio - Ratio of the inner radius of the gauge.
- startAngle
Degree - Angle in degrees of the start of the gauge.
- endAngle
Degree - Angle in degrees of the end of the gauge.
- segmentation
AgGaugeSegmentation - Configuration for a segmented appearance.
- cornerRadius
number - Apply rounded corners to the gauge.
- cornerMode
AgGaugeCornerModedefault: container - Configuration on whether to apply `cornerRadius` only to the ends of the gauge, or each individual item within the gauge.
- needle
AgRadialGaugeNeedleStyle - Configuration for the needle.
- scale
AgRadialGaugeScale - Configuration for the scale.
- bar
AgRadialGaugeBarStyle - Configuration for the bar.
- label
AgRadialGaugeLabelOptions - Configuration for the labels shown inside the shape.
- secondaryLabel
AgRadialGaugeSecondaryLabelOptions - Configuration for the labels shown inside the shape.
- spacing
PixelSize - Distance between the shape edges and the text.
- cursor
string - The cursor to use for the gauge. This config is identical to the CSS `cursor` property.
- highlight
AgHighlightOptions - Configuration for highlighting when a series or legend item is hovered over.
- selection
AgSelectionOptions - Configuration for data selection.
- nodeClickRange
InteractionRange - Range from a node that a click triggers the listener.