2020-07-13 19:20:05 +02:00
|
|
|
module.exports = {
|
|
|
|
description: 'should draw all elements except lines',
|
|
|
|
config: {
|
|
|
|
type: 'line',
|
|
|
|
data: {
|
|
|
|
datasets: [{
|
|
|
|
data: [10, 15, 0, -4],
|
|
|
|
label: 'dataset1',
|
|
|
|
borderColor: 'red',
|
2020-11-28 21:07:46 +01:00
|
|
|
backgroundColor: 'green',
|
|
|
|
fill: true
|
2020-07-13 19:20:05 +02:00
|
|
|
}],
|
|
|
|
labels: ['label1', 'label2', 'label3', 'label4']
|
|
|
|
},
|
|
|
|
options: {
|
2020-10-21 14:13:27 +02:00
|
|
|
showLine: false,
|
2020-07-13 19:20:05 +02:00
|
|
|
scales: {
|
|
|
|
x: {
|
|
|
|
display: false
|
|
|
|
},
|
|
|
|
y: {
|
|
|
|
display: false
|
|
|
|
}
|
2020-11-23 23:58:03 +01:00
|
|
|
},
|
|
|
|
plugins: {
|
|
|
|
legend: false,
|
|
|
|
title: false,
|
|
|
|
tooltip: false,
|
|
|
|
filler: true
|
2020-07-13 19:20:05 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|