Visualforce Charting

Salesforce

Radar Chart using Visualforce and Apex in Salesforce

Sample Code: Visualforce page: <apex:page sidebar="false" Controller="Sample" showHeader="true" id="pg"> <apex:chart height="750" width="800" legend="true" data="{!data}"> <apex:legend position="left"/> <apex:axis type="Radial" position="radial"> <apex:chartLabel /> </apex:axis> <apex:radarSeries xField="memName" yField="tenthPercent" tips="true" opacity="0.4"/> <apex:radarSeries xField="memName" yField="twelthPercent" ....

Salesforce

Pie chart using Apex in Salesforce

Visualforce Page: <apex:page controller="Graph" > <apex:chart height="250" width="350" data="{!pieData}"> <apex:pieSeries dataField="data" labelField="name"/> <apex:legend position="right"/> </apex:chart> <apex:outputText value="{!temp1}"/> </apex:page> Apex: public with sharing class Graph { public List<PieWedgeData> getPieData() { List<PieWedgeData> ....