ikinci temizlik tamamlandı
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
module.exports = {
|
||||
config: {
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: [0, 1, 2, 3, 4, 5],
|
||||
datasets: [
|
||||
{
|
||||
// option in dataset
|
||||
data: [3, 1, 2, 0, 8, 1],
|
||||
backgroundColor: '#ff0000'
|
||||
},
|
||||
{
|
||||
// option in element (fallback)
|
||||
data: [0, 4, 2, 6, 4, 8],
|
||||
backgroundColor: '#00ff00'
|
||||
}
|
||||
]
|
||||
},
|
||||
options: {
|
||||
legend: false,
|
||||
title: false,
|
||||
elements: {
|
||||
line: {
|
||||
fill: true
|
||||
},
|
||||
point: {
|
||||
radius: 0
|
||||
}
|
||||
},
|
||||
layout: {
|
||||
padding: 32
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{stacked: true, display: false}],
|
||||
yAxes: [{stacked: true, display: false}]
|
||||
}
|
||||
}
|
||||
},
|
||||
options: {
|
||||
canvas: {
|
||||
height: 256,
|
||||
width: 512
|
||||
}
|
||||
}
|
||||
};
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,47 @@
|
||||
module.exports = {
|
||||
config: {
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: [0, 1, 2, 3, 4, 5],
|
||||
datasets: [
|
||||
{
|
||||
// option in dataset
|
||||
data: [3, 1, 2, 0, 8, 1],
|
||||
backgroundColor: '#ff0000',
|
||||
order: 2
|
||||
},
|
||||
{
|
||||
// option in element (fallback)
|
||||
data: [0, 4, 2, 6, 4, 8],
|
||||
backgroundColor: '#00ff00',
|
||||
order: 1
|
||||
}
|
||||
]
|
||||
},
|
||||
options: {
|
||||
legend: false,
|
||||
title: false,
|
||||
elements: {
|
||||
line: {
|
||||
fill: true
|
||||
},
|
||||
point: {
|
||||
radius: 0
|
||||
}
|
||||
},
|
||||
layout: {
|
||||
padding: 32
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{stacked: true, display: false}],
|
||||
yAxes: [{stacked: true, display: false}]
|
||||
}
|
||||
}
|
||||
},
|
||||
options: {
|
||||
canvas: {
|
||||
height: 256,
|
||||
width: 512
|
||||
}
|
||||
}
|
||||
};
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.8 KiB |
Reference in New Issue
Block a user