Click here to Skip to main content
15,565,474 members

Comments by hypermellow (Top 200 by date)

hypermellow 15-Sep-16 5:43am View    
What chart component are you using? ... can you post your code please?
hypermellow 15-Aug-16 4:14am View    
Any detail on where it's not working?
... do you have an error message?
hypermellow 3-Aug-16 9:12am View    
That's still not json data, it's array data???

Passing json data to highcharts is usually done something like:

$(document).ready(function() {
$.ajax({
url: '/yourService.asmx/summarydata',
type: 'GET',
async: true,
dataType: 'json',
success: function (oData) {
$('#chart').highcharts({
chart: {
type: 'column'
},
xAxis: {
type: 'month'
},
series: [{
data: oData
}]
});
}
});
});

From your question, it looks like your service is returning valid json, so something along the lines of this should work.
hypermellow 3-Aug-16 5:42am View    
Your console data is displaying data in valid json format.
The format you appear to want, is not valid json.

... why do you want your data in this invalid format?
hypermellow 2-Mar-16 9:34am View    
Hi, what happens when you remove the UseHttpGet:=True from your methods declaration?
... as you have explicitly set the method to be called via http get requests, but then you call it by posting to the method?