Support chart rendering to vector graphics with :vector [x y w h] param
Fix typo
Refactor to use existing keys