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

100% Stacked chart - series proportion length is wrong

2 Answers 106 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Itay
Top achievements
Rank 1
Itay asked on 25 Feb 2016, 03:25 PM

If the first value is larger then the second one the length of the series is wrong. The smaller value appears longer than the bigger value.

If the first value is smaller than the second one it is ok.

See attached http://dojo.telerik.com/OlUME/4 to recreate the issue

Please advice

2 Answers, 1 is accepted

Sort by
0
EZ
Top achievements
Rank 2
answered on 25 Feb 2016, 07:20 PM

You need to set the min of the value axis to zero:

valueAxis: {
    min: 0,
    line: {
        visible: false
    },
    minorGridLines: {
        visible: true
    }
},

 

Updated DOJO

 

0
Iliana Dyankova
Telerik team
answered on 29 Feb 2016, 09:33 AM
Hi guys,

Another option is to set the valueAxis.narrowRange option to false. Below is the update dojo:
http://dojo.telerik.com/@Iliana/eCeKE

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Itay
Top achievements
Rank 1
Answers by
EZ
Top achievements
Rank 2
Iliana Dyankova
Telerik team
Share this question
or