mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
28 lines
448 B
JavaScript
28 lines
448 B
JavaScript
module.exports = {
|
|
config: {
|
|
type: 'line',
|
|
data: {
|
|
labels: ['a', 'b', 'c', 'd', 'e', 'f'],
|
|
datasets: [{
|
|
data: [1, 2, 3, 3, 2, 1],
|
|
borderColor: 'black',
|
|
segment: {
|
|
borderColor: 'red',
|
|
}
|
|
}]
|
|
},
|
|
options: {
|
|
scales: {
|
|
x: {display: false},
|
|
y: {display: false}
|
|
}
|
|
}
|
|
},
|
|
options: {
|
|
canvas: {
|
|
width: 256,
|
|
height: 256
|
|
}
|
|
}
|
|
};
|