mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
* put borderOpts in own object * document z option * remove todo and change scaleId to id * update some tests * clean bit, remove console log * fix failing test * lint * Remove comment
50 lines
793 B
JavaScript
50 lines
793 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'bubble',
|
|
data: {
|
|
datasets: [
|
|
{
|
|
label: '# of Votes',
|
|
data: [{x: 19, y: 3, r: 3}, {x: 2, y: 2, r: 60}],
|
|
radius: 100,
|
|
backgroundColor: 'pink'
|
|
}
|
|
]
|
|
},
|
|
options: {
|
|
plugins: {
|
|
legend: {
|
|
display: false
|
|
}
|
|
},
|
|
scales: {
|
|
y: {
|
|
ticks: {
|
|
display: false
|
|
},
|
|
border: {
|
|
color: 'red',
|
|
width: 5
|
|
}
|
|
},
|
|
x: {
|
|
ticks: {
|
|
display: false
|
|
},
|
|
border: {
|
|
color: 'red',
|
|
width: 5
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
options: {
|
|
canvas: {
|
|
height: 512,
|
|
width: 512
|
|
}
|
|
}
|
|
};
|