-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jacco van den Berg
committed
Aug 26, 2024
1 parent
25511f7
commit 991d0e3
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
test/fixtures/core.datasetController/stacked-initial-render.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
module.exports = { | ||
config: { | ||
type: 'line', | ||
data: { | ||
labels: [0, 1, 2, 3, 4, 5, 6], | ||
datasets: [ | ||
{ | ||
// option in dataset | ||
data: [9, 13, 15, 25, 22, 15, 21], | ||
stack: 'construction_stack', | ||
borderWidth: 10, | ||
borderColor: 'rgb(54, 162, 235)' | ||
}, | ||
{ | ||
data: [9, 13, 15, 25, 22, 15, 21], | ||
stack: 'construction_stack', | ||
borderWidth: 10, | ||
borderColor: 'rgb(255, 99, 132)' | ||
} | ||
] | ||
}, | ||
options: { | ||
scales: { | ||
x: { | ||
ticks: { | ||
display: false | ||
} | ||
}, | ||
y: { | ||
ticks: { | ||
display: false | ||
} | ||
} | ||
}, | ||
plugins: { | ||
legend: false, | ||
title: false, | ||
tooltip: false, | ||
filler: false | ||
} | ||
} | ||
}, | ||
options: { | ||
canvas: { | ||
height: 512, | ||
width: 512 | ||
} | ||
} | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters