This post is all about how to draw a chart in Visual force page by using JavaScript Remoting & Google Charts API. I had faced some requirement to draw a different types of chart in a visualforce page and also to display number of distinct record for further reference. I had done some work around and finally I had reached to the final destination. Here I have created one object ChartObject__c and two field Name and Amount . Here I am sharing some code snippet for your reference. <apex:page controller="GoogleChartsController" sidebar="false"> <!-- Google API inclusion --> <apex:includeScript id="a" value="https://www.google.com/jsapi" /> <apex:sectionHeader title="Google Charts + Javascript Remoting" subtitle="Demoing - Opportunities by Exepected Revenue"/> <!-- Google Charts will be drawn in this DIV --> <div id="chartB...
A place where you have to land for exploring Salesforce