mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
27 lines
428 B
JavaScript
27 lines
428 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'bubble',
|
|
data: {
|
|
datasets: [{
|
|
backgroundColor: 'red',
|
|
data: [{x: 12, y: 54, r: 22.4}]
|
|
}, {
|
|
backgroundColor: 'blue',
|
|
data: [{x: 18, y: 38, r: 25}]
|
|
}]
|
|
},
|
|
options: {
|
|
layout: {
|
|
autoPadding: false,
|
|
}
|
|
}
|
|
},
|
|
options: {
|
|
spriteText: true,
|
|
canvas: {
|
|
width: 256,
|
|
height: 256
|
|
}
|
|
}
|
|
};
|