This is a migrated thread and some comments may be shown as answers.

stack chart proportion is not correct

2 Answers 15 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Jiatang
Top achievements
Rank 1
Jiatang asked on 30 Sep 2015, 03:15 PM

My stack chart is defined like this:

 

            seriesDefaults: {
                type: "bar",
                stack: {
                    type: "100%"
                },
                spacing: 0,
                gap: 0
            },

 

But the bar's proportion is not correct. See the attachments.

2 Answers, 1 is accepted

Sort by
0
Accepted
EZ
Top achievements
Rank 2
answered on 30 Sep 2015, 06:13 PM
Try setting the min: 0 and max: 1 or 100 on the valueAxis.
0
Jiatang
Top achievements
Rank 1
answered on 30 Sep 2015, 07:17 PM

tried

0/100 doesn't work, 0/1 works. Thanks.

Tags
Charts
Asked by
Jiatang
Top achievements
Rank 1
Answers by
EZ
Top achievements
Rank 2
Jiatang
Top achievements
Rank 1
Share this question
or