+ Start a Discussion

documentation for ChartServer servlet

Could someone at SF please provide some documentation on the ChartServer URL params?


For instance











































We'd like to not reinvent the wheel by having to outsource chart images to a third party like google.  I know there was a bunch of hullabaloo about an AppExchange Google Charts implementation and the like, but it's too rough for our needs, and we'd rather build the whole thing on platform.  If Salesforce already has the functionality in-house, why not use it?  Right?


If you are wondering why, think real time dashboards.  We're basically fed up with hitting refresh...




OK, so in my attempt to reverse engineer this, I stumbled onto the fact that there is a way to force a dashboard refresh programmatically, by gaming the Refresh logic directly.




If you were to implement a silent request to this logic and dump the results to NULL/nowhere, you could probably embed the image for the chart directly into your page, and then use an actio poller to autorefresh an outputPanel periodically.


I will note, that SF probably keeps a hawk's eye on dashboard refreshes per day, so I wouldn't recommend going to the extreme of doing this once per minute.


Still waiting for someone in Salesforce to give us documentation on the chartserver itself, but I'm doubtful we'll get it.


We don't have a good way yet to let you generate charts using our chart engine from your pages. Using the URL is fragile. On the list of things to do is let you create a chart from visualforce, but this won't come soon.

Your best bet for the short and medium term (e.g. at least 1 year) is to use google or flash charts.