In the README you mention two alternatives to declare the chart type.
The second one, type='Bar' does not work. It appears it expects a lowercase string, as provided by ChartType.Bar.
I am leaving this here for your consideration. Either enforce lowercase when passing type to build dict or fix the docs.