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

DataSource grouping in Chrome

3 Answers 79 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 2
Andrew asked on 06 Sep 2012, 04:31 PM
We are trying to group some data for display using a Column chart. This works fine in IE, Safari etc, but when viewing in Chrome the data is mixed up, with values not falling into the correct groups. Removing the grouping shows that the data being handled is exactly the same in all browsers. Has anybody else come across this issue, and if so are there any known workarounds?

For info, the function in which grouping takes place is as follows:

function ajaxCallColumn(div, hier, dsField, stck, catAxisField, filter, srsClk, data) {
    $.ajax({
        url: '/api/Chart/',
        cache: false,
        type: 'POST',
        contentType: 'application/json; charset=utf-8',
        data: JSON.stringify(data),
        success: function (result) {
 
            $(div).kendoChart({
                dataSource: {
                    data: result,
                    group: {
                        field: dsField
                    },
                    filter: { field: "Category", operator: "neq", value: categorySwitch }
                },
                chartArea: {
                    background: "transparent"
                },
                title: {
                    text: result[0]["TableCaption"]
                },
                seriesColors: ["#007c85", "#f3901d", "#b2bb1e", "#a40046",
                            "#00aeef", "#ffcc00", "#5f6062", "#25567b", "#ccccff",
                            "#380470", "#6FFF00", "#9000FF"],
                legend: {
                    visible: true
                },
                series: [{
                    type: "column",
                    field: "Value",
                    tooltip:{
                        visible: true,
                        template: "#= series.name # - #= value #"
                    }
                }],
                seriesClick: srsClk,
                categoryAxis: {
                    field: catAxisField,
                    labels: {
                        rotation: 90
                    }
                }
            });
        },
        error: function (result) {
            if (result.status != 401) {
                alert(result.status + " " + result.statusText);
            }
        },
        statusCode: {
            401: function (jqXHR, textStatus, errorThrown) {
                self.location = '/Account/Login/';
            }
        }
    });
}

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 10 Sep 2012, 08:23 AM
Hello,

Thank you for the detailed bug report. This is a known issue caused by the unstable sorting implementation in V8.

We've already addressed this problem in the internal builds. The fix will also be available in the upcoming Service Pack release.

Apologies for the caused inconvenience.

Regards,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Peter
Top achievements
Rank 2
answered on 13 Apr 2013, 10:57 PM
Any update on a fix for this issue?  I'm experiencing the same issue with version 2013.1.319.

Thanks,
-Pete
0
T. Tsonev
Telerik team
answered on 15 Apr 2013, 10:57 AM
Hi,

We're unable to confirm the problem with the latest version.

We'll appreciate more details or a page that demonstrates the problem.

Greetings,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Andrew
Top achievements
Rank 2
Answers by
T. Tsonev
Telerik team
Peter
Top achievements
Rank 2
Share this question
or