then please check with whoever wrote """
function(data){series: [{ type: 'area', name: 'Response(kW)', data: data }] """ PS: may I suggest that you'd need to call /app/default/getdata*.json *that sets automatically also the correct content-type for json ? On Tuesday, September 13, 2016 at 1:39:19 PM UTC+2, Aydin wrote: > > Im sure it has to do with my code not web2py. > Yes in the browser i did /app/default/getdata and it returned correctly > [[1,2],[2,3]]. > By the way i import json and also use @service.json. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.