DataSource grouping in Chrome

4 posts, 0 answers
  1. Andrew
    Andrew avatar
    20 posts
    Member since:
    Jun 2012

    Posted 06 Sep 2012 Link to this post

    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/';
                }
            }
        });
    }
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2811 posts

    Posted 10 Sep 2012 Link to this post

    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!
  3. Peter
    Peter avatar
    22 posts
    Member since:
    Nov 2007

    Posted 13 Apr 2013 Link to this post

    Any update on a fix for this issue?  I'm experiencing the same issue with version 2013.1.319.

    Thanks,
    -Pete
  4. T. Tsonev
    Admin
    T. Tsonev avatar
    2811 posts

    Posted 15 Apr 2013 Link to this post

    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!
Back to Top