refactor in an object oriented manner
only show total if indicated in json options
note demo
remove unused code
fix wrap reference
support another shape of mutliple named series
enable previously pending test
fix pie chart helper