Gauge arc with targets
A 250° partial ring with slot tracks and three gauge arcs inside.
Series, gauge & live
Open the chart without page chrome ↗Drawing width at least 760 px. Scroll within the chart on smaller screens.
const options = {
"chart": {
"type": "radialColumn",
"height": 440,
"toolbar": {
"show": false
}
},
"series": [
{
"name": "Utilisation",
"data": [
60,
68,
72,
74,
78,
75,
71,
67,
61,
50,
44,
43,
37,
41,
43,
51,
56,
68,
71,
78,
75,
78,
71,
65,
55,
50,
41,
33,
33,
33,
40,
52,
57,
66,
75,
78,
82,
81,
72,
66,
56,
45,
37,
38,
37,
39,
44,
50
]
}
],
"xaxis": {
"categories": [
"00:00",
"00:30",
"01:00",
"01:30",
"02:00",
"02:30",
"03:00",
"03:30",
"04:00",
"04:30",
"05:00",
"05:30",
"06:00",
"06:30",
"07:00",
"07:30",
"08:00",
"08:30",
"09:00",
"09:30",
"10:00",
"10:30",
"11:00",
"11:30",
"12:00",
"12:30",
"13:00",
"13:30",
"14:00",
"14:30",
"15:00",
"15:30",
"16:00",
"16:30",
"17:00",
"17:30",
"18:00",
"18:30",
"19:00",
"19:30",
"20:00",
"20:30",
"21:00",
"21:30",
"22:00",
"22:30",
"23:00",
"23:30"
]
},
"plotOptions": {
"radialColumn": {
"aggregate": "mean",
"startAngle": -125,
"endAngle": 125,
"track": {
"show": true
},
"layers": [
{
"type": "arc",
"name": "Targets",
"max": 100,
"data": [
{
"x": "CPU",
"y": 72
},
{
"x": "Memory",
"y": 58
},
{
"x": "Disk",
"y": 34
}
]
}
]
}
}
}
const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()import WestCoastCharts from 'west-coast-charts'
import premium from 'west-coast-charts/premium'
WestCoastCharts.use(premium)
const WestCoastChartsPremium = premium
WestCoastCharts.setLicenseKey(LICENCE_KEY) // paid production licence; localhost evaluation needs no key
const options = {
"chart": {
"type": "radialColumn",
"height": 440,
"toolbar": {
"show": false
}
},
"series": [
{
"name": "Utilisation",
"data": [
60,
68,
72,
74,
78,
75,
71,
67,
61,
50,
44,
43,
37,
41,
43,
51,
56,
68,
71,
78,
75,
78,
71,
65,
55,
50,
41,
33,
33,
33,
40,
52,
57,
66,
75,
78,
82,
81,
72,
66,
56,
45,
37,
38,
37,
39,
44,
50
]
}
],
"xaxis": {
"categories": [
"00:00",
"00:30",
"01:00",
"01:30",
"02:00",
"02:30",
"03:00",
"03:30",
"04:00",
"04:30",
"05:00",
"05:30",
"06:00",
"06:30",
"07:00",
"07:30",
"08:00",
"08:30",
"09:00",
"09:30",
"10:00",
"10:30",
"11:00",
"11:30",
"12:00",
"12:30",
"13:00",
"13:30",
"14:00",
"14:30",
"15:00",
"15:30",
"16:00",
"16:30",
"17:00",
"17:30",
"18:00",
"18:30",
"19:00",
"19:30",
"20:00",
"20:30",
"21:00",
"21:30",
"22:00",
"22:30",
"23:00",
"23:30"
]
},
"plotOptions": {
"radialColumn": {
"aggregate": "mean",
"startAngle": -125,
"endAngle": 125,
"track": {
"show": true
},
"layers": [
{
"type": "arc",
"name": "Targets",
"max": 100,
"data": [
{
"x": "CPU",
"y": 72
},
{
"x": "Memory",
"y": 58
},
{
"x": "Disk",
"y": 34
}
]
}
]
}
}
}
const chart = new WestCoastCharts(document.querySelector('#chart'), options)
await chart.render() Waiting for the chart.
Open Data & agent view to read this chart through chart.describe().
Read from the running library through its optional agent/describe module. Text, table and JSON share the same snapshot. Demo data only.
$ wcc chart export radial-column-gauge.json --out radial-column-gauge.svg --with-table Public agent tools 0.2.3, tested with Library 1.1.5; available from the versioned GitHub release and npm. Save a JSON spec first and check the loaded runtime and supported modules before rendering. Command reference
Loading /gallery/radial-column/gauge/index.md … This example uses Premium modules. Compare licences · Embedding in a distributed product?