Click here to Skip to main content
15,946,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have a kendo line chart that needs to show dynamic chart

when I use some static source like

var employeeTracks = [
{
"week": "W1",
"year": "2015",
"value": 6
},
{
"week": "W2",
"year": "2015",
"value": 7
}
];


the line chart works but when I try to create json object and use that, then it does not work. Can any one help on this please ... its urgent thanks

What I have tried:

public string GetJsonResult([DataSourceRequest]Kendo.Mvc.UI.DataSourceRequest request)
{

string a = "[{ \"week\":\"W2\", \"year\":2015,\"value\":7}]";
return a;

}
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900