add graph type option to allow for creating pie charts

Currently the graphType option was not supported.  If it isn't given it defaults to line graph type however now you can specify that you want to use a pie chart.