add option to prevent overly large piecharts
Merge branch 'origin/piechart'