function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SandeepVSandeepV 

Stacked Area chart in Visualforce

Hi 

 

I am steruggling to plot a Stacked Area chart in Visualforce. Can you pls suggest what is the best way to achieve this.

 

SandeepV

Best Answer chosen by Admin (Salesforce Developers) 
SandeepVSandeepV

Thanks for your help.

 

My Issue has been resolved , I was able to plot the chart successfully with Google Visualizations.

 

Thanks.

 

SandeepV

All Answers

Andy BoettcherAndy Boettcher

What are you struggling with exactly?

 

-Andy

SandeepVSandeepV

It is clear that salesforce visual charting is not able to plot the graph which i want. Check the image attached.

 

Stacked Area Chart

 

 

 

stacked area chart

 

I have not seen this kind of graph in Salesforce. I am trying to use the Google charts API to plot this graph.

 

Can you help me with this.? I am a newbie to Salesforce , if you can suggest me some example or sample charts code to refer , that will be good.

 

SandeepV

cwall_sfdccwall_sfdc

Visualforce Charting does not currently support area charts.  However, doing apex:chart w/ multiple apex:lineSeries may achieve the desired chart.

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_charting_example.htm

SandeepVSandeepV

Thanks for your help.

 

My Issue has been resolved , I was able to plot the chart successfully with Google Visualizations.

 

Thanks.

 

SandeepV

This was selected as the best answer