Timeline for Invalid field for AggregateResult while creating apex chart
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 2, 2016 at 13:15 | comment | added | Keith C | @Sid See How do I start to debug my own Visualforce/JavaScript?. You'll have to figure this out yourself: first check whether the data created in the controller is OK or not and if it is go on to debug the client-side. | |
May 2, 2016 at 13:14 | comment | added | sfdc_to_learn | Hi Keith. I m getting this error when i do inspect element -SfdcCore.js:384 Visualforce Chart: Error loading configuration for chart 'jid0jid1pbjid3jid4': Unable to infer data model from result: result is not an Arrayb.resolve.b.provide.log @ SfdcCore.js:384 login.salesforce.com/17181/logo180.png Failed to load resource: the server responded with a status of 404 (Not Found) | |
May 2, 2016 at 13:13 | comment | added | sfdc_to_learn | but its not appearing in vf page. How to check chart javascript error | |
May 2, 2016 at 13:12 | comment | added | sfdc_to_learn | If i run this query in workbench i am getting values like - Unknown_Field__1 f 26 Bedding | |
May 2, 2016 at 13:06 | comment | added | Keith C |
First thing to do is output {!PieData.size} into the page to make sure the list has values. After that, check the browser's JavaScript console for error from the chart JavaScript.
|
|
May 2, 2016 at 13:01 | comment | added | sfdc_to_learn | Hi Keith i am not getting anything in chart...I want Product__r.Family values should appear in pie chart | |
May 2, 2016 at 12:56 | history | answered | Keith C | CC BY-SA 3.0 |