Tuesday, May 27, 2014

How to use Visualforce Charting Salesforce


From Winter 13 the introduction of visualforce charting has changed the games, as we can achieve that visual feeling in the page that makes it more attractive.
"Visualforce
 charting gives you an easy way to create customized business charts, based on data sets you create directly from SOQL queries, or by building the data set in your own Apexcode. By combining and configuring individual data series, you can compose charts that display your data in ways meaningful to your organization."

Lists considerations and known limitations for Visualforce Charting.
  • Visualforce charts only render in browsers which support scalable vector graphics (SVG). For more information, see WC3 SVG Working Group.
  • Visualforce charting uses JavaScript to draw the charts. Visualforce charts won’t display in pages rendered as PDFs.
  • Email clients do not usually support JavaScript execution in messages. Don’t use Visualforce charting in email messages or email templates.
  • Visualforce charting sends errors and messages to the JavaScript console. Keep a JavaScript debugging tool, such as Firebug, active during development.
  • Dynamic (Apex-generated) charting components are not supported at this time.


Page: Controller:


No comments:

Post a Comment