O'Reilly logo

Visualforce Development Cookbook by Keir Bowden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a third axis

Plotting multiple series on a single graph can be problematic if the values of the two series vary widely. For example, if the total value of won opportunities were plotted against the record count of won opportunities, the total value number would be likely to be several hundred thousand times the record count number. Plotting these on a single chart would result in the record count plot being as close to zero as to be indistinguishable from zero.

The solution to this problem is to display a third axis. The axis is scaled appropriately to the data set that is plotted against it.

In this recipe we will create a Visualforce page containing a chart that displays the total value of the won and lost opportunities per month for the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required