I'm wondering how I can set the max value in my pie chart series. I want to create a customizable expense pie chart; where the user inputs their total income and their expenses. Then the pie chart takes the total income value and calculates the chart wedges as a percentage of their total income.
So if they have a total income of $1000 and expenses of $500 and $250, leaving $250 left over, the chart would have 3 corresponding wedges. I realize there's some math in there, so if anyone can help with that too, that would be awesome. I also realize this has to be out thee somewhere (it's not a new idea) but I've been looking and haven't found anything as of yet. So any help would be great.