mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
11ef1e5e89
Versatile clipping algorithm for different chart types
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
|
|
}
|
|
}
|
|
};
|