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

Kendo Charts (Area Charts) display wrong data

1 Answer 37 Views
Charts
This is a migrated thread and some comments may be shown as answers.
parag
Top achievements
Rank 1
parag asked on 20 Apr 2016, 01:01 PM

Hi, I was using the Kendo Chart for one of my projects and drawing charts for visualizing the data. 

I have the following Kendo code to render the data given in this "message-rate-details.json" file. 

The file

 

 

      var messageRateData = new kendo.data.DataSource({
                transport: {
                    read: {
                        url: "content/shared/message-rate-details.json",
                        dataType: "json"
                    }
                },
                sort: {
        field: "timestamp",
        dir: "asc"
        },
        group: {
                    field: "strategyId"
                }
            });
 
$("#chart10").kendoChart({
            dataSource: messageRateData,
            title: {
                text: "Message Rate Details in 10 min interval"
            },
            legend: {
                position: "top"
            },
    series: [{
                        type: "area",
            stack: true,
            field: "count",
            name: "StrategyId #= group.value #"
                    }],
    valueAxis: {
                labels: {
                    format: "{0}"
                },
                line: {
                    visible: false
                }
            },
     categoryAxis: {
                field: "timestamp",
        type: "date",
        labels: {
                    format: "hh:mm:ss"
                    }
            },
            tooltip: {
                visible: true,
                format: "{0}"
    }
});     

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 22 Apr 2016, 07:05 AM
Hi Parag,

For some reason the message-rate-details.json file is missing - could you please zip and send it again? Also, could you elaborate on the particular issue which you encountered? Thank you in advance for your cooperation.

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