Analytics-API-Demos icon indicating copy to clipboard operation
Analytics-API-Demos copied to clipboard

Missing controller="BubbleChartController"

Open atorman opened this issue 11 years ago • 5 comments

From BubbleChart.page. Thanks! bubblechart

atorman avatar Mar 28 '14 15:03 atorman

Thanks. If you've corrected the code in your repo please could you issue a pull request, that way the fix will be attributed to you too :+1:

wesnolte avatar Mar 31 '14 15:03 wesnolte

Hi, Could you share the Apex class 'BubbleChartController' since it is not in the repo? Thanks

charltonAthletic avatar Nov 11 '15 14:11 charltonAthletic

It's been ages since I worked on this code but a quick scan indicates that the controller isn't used! If you remove the controller attribute entirely I suspect it'll work perfectly. If you could do this and then issue a pull request then I can correct the repo here too.

Thanks!

wesnolte avatar Nov 16 '15 12:11 wesnolte

Thanks Wes. I've removed the Controller attribute and am passing in a summarised report value in the URL: visual.force.com/apex/BubbleChartPage?id=myreportid. However, nothing is displaying. I have the report summarized as Probability, Amount, Stage Duration with a field of Opp Owner. Can you advise if I am doing something incorrectly? Many thanks!

charltonAthletic avatar Nov 16 '15 13:11 charltonAthletic

Hard to say without seeing the page in operation but if you use the Chrome Console you'll probably see a few errors there. Here's how you open it: https://developer.chrome.com/devtools/docs/console

You can also add debug statements to your JS code to help you troubleshoot: http://th3silverlining.com/2011/05/21/salesforce-debugging-javascript/

wesnolte avatar Nov 16 '15 13:11 wesnolte