mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
954ed953a5
* Resolve canvasgradient is not defined in node * Remove trailing white space * export isPaternOrGradient helper with typings * fix lint failure, single qoute * Respect `fill: false` with custom draw times * correctly listen to fill property * remove console log and lint errors * implement feedback, still update control points
23 lines
399 B
JavaScript
23 lines
399 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'line',
|
|
data: {
|
|
labels: ['0', '1', '2', '3', '4', '5'],
|
|
datasets: [{
|
|
backgroundColor: 'red',
|
|
data: [3, -3, 0, 5, -5, 0],
|
|
fill: false
|
|
}]
|
|
},
|
|
options: {
|
|
plugins: {
|
|
legend: false,
|
|
title: false,
|
|
filler: {
|
|
drawTime: 'beforeDatasetsDraw'
|
|
}
|
|
},
|
|
}
|
|
},
|
|
};
|