Use chart object as this in event handlers - #327
Add category/categories API - #327