You need to sign in to do that
Don't have an account?

Pie Chart Multiple Wedges
Pie Chart with Wedges from Two Fields
I have a Master Custom Object called "Desks." On this object I have two revenue fields. "Firm Revenue" and "Team Revenue." The Firm revenue is a big number say $50,000,000. The Team Revenue is smaller, say $10,000,000.
Essentially the firm made $40,000,000, the team made $10,000,000 and the together they made $50,000,000.
Is there a way to have a pie chart that has wedges for both Firm Revenue and Team Revenue in the same pie? (In this situation it would show a wedge for $10,000,000 and a different wedge for $40,000,000.
One thing to note is team revenue is a roll up summary of a child object totallying the revenue from that object.
Thanks in advance!
You can definitely have multiple wedges. You probably need to create a wrapper class to contain the value and a description of it - that way it doesn't matter where the data comes from.
The Visualforce Developers Guide has an example of this concept at:
http://www.salesforce.com/us/developer/docs/pages/Content/pages_charting_overview.htm
essentially you'll need to create instances of PieWedgeData that are populated with the values that you want to display.