mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
021561072b
Disabling all plugins when options.plugins = false
33 lines
388 B
JavaScript
33 lines
388 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'line',
|
|
data: {
|
|
datasets: [{
|
|
data: [1, 2, 3],
|
|
}],
|
|
labels: ['Label1', 'Label2', 'Label3']
|
|
},
|
|
options: {
|
|
scales: {
|
|
x: {
|
|
ticks: {
|
|
align: 'start',
|
|
},
|
|
},
|
|
y: {
|
|
ticks: {
|
|
align: 'start',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
options: {
|
|
spriteText: true,
|
|
canvas: {
|
|
height: 256,
|
|
width: 512
|
|
}
|
|
}
|
|
};
|