simple pie chart class.