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

3 posts, 0 answers
  1. Sanjay Salunkhe
    Sanjay Salunkhe avatar
    5 posts
    Member since:
    Jun 2009

    Posted 26 Apr 2015 Link to this post

    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. Sanjay Salunkhe
    Sanjay Salunkhe avatar
    5 posts
    Member since:
    Jun 2009

    Posted 26 Apr 2015 in reply to Sanjay Salunkhe Link to this post

    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)

     

  3. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 29 Apr 2015 Link to this post

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