This question is locked. New answers and comments are not allowed.
Hi,
I using WinJS.xhr to load json content from a url, and then I receive json content in xhr.response. I need to directly display the data fetched in xhr.response into chart. Please follow below for more details.
Command
WinJS.xhr({
url: "url from where to fetch content"
}).done(function (xhr) {
/* I will have my content fetched in xhr.response and it will be in string format. Example of how it will look is attached(file name Json File Example)
After fetching json file into string format, I need to plugin in directly in my telerik chart control.
Uptill now, I was fetching data for my chart control from json file at my local machine. But due to change in implementation, I need to create chart directly from json content fetched through xhr.response.
I have attached image of how I was pulling content from json file previously for charts, Can some one tell me what changes should I make to get chart control work with xhr.response.
});
Please let me know if more details are required to understand my problem.
I using WinJS.xhr to load json content from a url, and then I receive json content in xhr.response. I need to directly display the data fetched in xhr.response into chart. Please follow below for more details.
Command
WinJS.xhr({
url: "url from where to fetch content"
}).done(function (xhr) {
/* I will have my content fetched in xhr.response and it will be in string format. Example of how it will look is attached(file name Json File Example)
After fetching json file into string format, I need to plugin in directly in my telerik chart control.
Uptill now, I was fetching data for my chart control from json file at my local machine. But due to change in implementation, I need to create chart directly from json content fetched through xhr.response.
I have attached image of how I was pulling content from json file previously for charts, Can some one tell me what changes should I make to get chart control work with xhr.response.
});
Please let me know if more details are required to understand my problem.