mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
36 lines
536 B
JavaScript
36 lines
536 B
JavaScript
|
module.exports = {
|
||
|
config: {
|
||
|
type: 'line',
|
||
|
data: {
|
||
|
labels: [0, 5, 10, 15, 20, 25, 30, 50, 55, 60],
|
||
|
datasets: [{
|
||
|
data: [6, 11, 10, 10, 3, 22, 7, 24],
|
||
|
type: 'bubble',
|
||
|
label: 'test',
|
||
|
borderColor: '#3e95cd',
|
||
|
fill: false
|
||
|
}]
|
||
|
},
|
||
|
options: {
|
||
|
legend: false,
|
||
|
scales: {
|
||
|
xAxes: [{ticks: {display: false}}],
|
||
|
yAxes: [{
|
||
|
ticks: {
|
||
|
display: false,
|
||
|
min: 8,
|
||
|
max: 25,
|
||
|
beginAtZero: true
|
||
|
}
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
options: {
|
||
|
canvas: {
|
||
|
height: 256,
|
||
|
width: 256
|
||
|
}
|
||
|
}
|
||
|
};
|