2020-02-14 18:33:08 +01:00
|
|
|
module.exports = {
|
|
|
|
threshold: 0.01,
|
|
|
|
config: {
|
2020-06-18 23:35:52 +02:00
|
|
|
type: 'bar',
|
2020-02-14 18:33:08 +01:00
|
|
|
data: {
|
|
|
|
datasets: [{
|
|
|
|
data: [10, 5, 0, 25, 78]
|
|
|
|
}],
|
|
|
|
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5']
|
|
|
|
},
|
|
|
|
options: {
|
2020-06-18 23:35:52 +02:00
|
|
|
indexAxis: 'y',
|
2020-02-14 18:33:08 +01:00
|
|
|
elements: {
|
2020-10-20 14:18:56 +02:00
|
|
|
bar: {
|
2020-02-14 18:33:08 +01:00
|
|
|
backgroundColor: '#AAAAAA80',
|
|
|
|
borderColor: '#80808080',
|
|
|
|
borderWidth: {bottom: 6, left: 15, top: 6, right: 15}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
scales: {
|
|
|
|
x: {display: false},
|
|
|
|
y: {display: true}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
spriteText: true
|
|
|
|
}
|
|
|
|
};
|