mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
37 lines
583 B
JavaScript
37 lines
583 B
JavaScript
module.exports = {
|
|
description: 'should draw all elements except lines turned off per dataset',
|
|
config: {
|
|
type: 'line',
|
|
data: {
|
|
datasets: [{
|
|
data: [10, 15, 0, -4],
|
|
label: 'dataset1',
|
|
borderColor: 'red',
|
|
backgroundColor: 'green',
|
|
showLine: false,
|
|
fill: false
|
|
}],
|
|
labels: ['label1', 'label2', 'label3', 'label4']
|
|
},
|
|
options: {
|
|
legend: false,
|
|
title: false,
|
|
showLine: true,
|
|
scales: {
|
|
x: {
|
|
display: false
|
|
},
|
|
y: {
|
|
display: false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
options: {
|
|
canvas: {
|
|
width: 512,
|
|
height: 512
|
|
}
|
|
}
|
|
};
|