Stacked and grouped bars remote data

2 posts, 0 answers
  1. Panda
    Panda avatar
    2 posts
    Member since:
    Apr 2014

    Posted 11 Nov 2014 Link to this post

    we are using kendo chart HTML5 version, currently our project requires a stacked grouped charts
    the requirement is pretty similar to those in the demos
    however i can't seem to find how to make the chart like in the demos (
    using remote data.
    In our projects there 2 groups or whatever it is called, which is AcquiredValue and CurrentValue(in the demos is Male and Female)
    we have 4 range which is for example AssetTypeA,AssetTypeB,AssetTypeC, and AssetTypeD (in the demos its the age part, 0-19,20-39,40-64,etc)
    all are grouped by year (similar to those in demos, which is 1970, 1975, 1980 etc)
    all data are required to be returned from the server

    can you please help guide us what kind of server response in JSON format that we need to receive from the server
    and the settings in the kendo chart html5 to achieve this?

    thank you very much
  2. Venkat
    Venkat  avatar
    37 posts
    Member since:
    Aug 2014

    Posted 11 Nov 2014 Link to this post

    Hi Panda,

    Just now I was able to get the Stacked Chart to make it work. See my thread

    To get the stacked to work, we need to Convert Json to IList<T> as the Chart will be expecting the data in List of Models. So, if you pass the IList<T> model it should work for you.

Back to Top