Updates to chart servlet to remove dependance on PNG -:
- Updated chart servlet to /chart
- Modified getChartType to just return type, ie "png", not "image/png"
- Removed hard coded png format type in ImageIO.write and use
getChartType()
- Added check to ensure there is data in the series before adding