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

Column Stacked Group charts column data appears mixed only in Chrome.

2 Answers 59 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sanjay Salunkhe
Top achievements
Rank 1
Sanjay Salunkhe asked on 26 Apr 2015, 11:45 AM

This issue happens only in chrome. works perfectly fine in IE and Firefox.

There is a related issue here :

http://www.telerik.com/forums/datasource-different-sorting-causes-chrome-to-mess-up-stacked-grouped-barcharts

The data in the category axis appears mixed and does not state the values correctly.

Is there a solution to this, so that the grouped stacked charts (column or bar charts) appear properly in Chrome???

Thanks,

Rohit

2 Answers, 1 is accepted

Sort by
0
Sanjay Salunkhe
Top achievements
Rank 1
answered on 26 Apr 2015, 12:01 PM

I tried sorting on multiple columns as indicated in this post:

http://stackoverflow.com/questions/12060554/kendoui-column-chart-grouping-data-in-wrong-columns

but still the data appears correctly in Firefox and IE but does not appear correctly in chrome.

Note that this happens only for grouped data and i tried using the following configuration:

$("#charrtDiv").kendoChart({
theme: $(document).data("kendoSkin") || $.cookie("theme"),
chartArea: {
background: "",
height: options.chartHeight
},
title: {
text: "",
font: "14px Arial,Helvetica,sans-serif"
},
dataSource: {
data: dataSource,
group: {
field: groupField
},
sort: {
    field: sortField,
    dir: "asc"
}
}, 

 

where I tried multi column sort, first by the group field then followed by the category field

i also tried single column sort (either group field or categoryField alone)

The charts appear properly in Firefox and IE when i sort using a single field (the group field alone)

 

0
Iliana Dyankova
Telerik team
answered on 29 Apr 2015, 06:26 AM
Hi Sanjay,

This information is not enough in order to determine what causes the issue. Could you please provide a dojo example which demonstrates your exact setup - this way I would be able to provide concrete recommendations and advice you further? 

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
Sanjay Salunkhe
Top achievements
Rank 1
Answers by
Sanjay Salunkhe
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or