fixed a typo in BarChart
updated PieChart engine to allow for inputs in tables as well
added API for manually rendering a chart