Displaying chart |
Hi
I assumed that your data model returns correct json then the way I look at this portion Code: var jqxhr = $.getJSON('http://localhost/dashboard/index.php/showchart/data',function(csv) { Try to add this line below console.log('success'), i.e console.log(JSON.stringify(csv)); then this shows what return back as csv. This should help you to further check data and correctly serialize them out. Also it seems like you just equate your option to 'json' out of nowhere, i.e Code: ... Regards |
Messages In This Thread |
Displaying chart - by nupura.pantina - 09-04-2017, 10:35 PM
RE: Displaying chart - by ciadvantage - 09-08-2017, 07:41 AM
|