Disallow negative values in pie charts. Closes #1530.