You can store whatever objects you want in "this" (i.e. the plugin). Plugin objects exist on a per-chart basis. The legend plugin does something like this for the legend div.