We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62808e6 commit 74c169aCopy full SHA for 74c169a
example/src/charts/StackedBar.js
@@ -24,20 +24,16 @@ const data = {
24
25
const options = {
26
scales: {
27
- yAxes: [
28
- {
29
- stacked: true,
30
- ticks: {
31
- beginAtZero: true,
32
- },
33
34
- ],
35
- xAxes: [
36
37
38
39
40
+ y: {
+ stacked: true,
+ ticks: {
+ beginAtZero: true
+ }
+ },
+ x: {
+ stacked: true
41
};
42
43
const StackedBar = () => (
0 commit comments