@carbon/charts
Version:
Carbon charting components
41 lines • 974 B
JavaScript
export var gaugeData = [
{ group: 'value', value: 42 },
{ group: 'delta', value: -13.37 },
];
export var gaugeDataNoDelta = [{ group: 'value', value: 67 }];
// guage no custom color
export var gaugeOptionsSemi = {
title: 'Gauge semicircular -- danger status',
resizable: true,
height: '250px',
width: '100%',
gauge: {
type: 'semi',
status: 'danger',
},
};
// guage with custom color
export var gaugeOptionsCircular = {
title: 'Gauge circular -- warning status',
resizable: true,
height: '250px',
gauge: {
status: 'warning',
type: 'full',
},
};
// guage with custom color
export var gaugeOptionsCircularNoDelta = {
title: 'Gauge circular without delta -- custom color',
resizable: true,
height: '250px',
gauge: {
type: 'full',
},
color: {
scale: {
value: '#FFE5B4',
},
},
};
//# sourceMappingURL=../../../demo/data/gauge.js.map