Nice work Manyone.
I once created a tutorial with the same API that can handle all parameters without limitations. It also handles pie charts and line graphs.
Also, to get some blocks, please right-click the blocks you want to download as PNG and select "Download Blocks as PNG".
Keep up the good work.