Maybe this is per usage, but 1 object needs to be created for all charts. If this is done there needs to be a reset vars method that will reset the values back to default.

Can I call the constructor again to reset the values? If so $this->occurrence needs to be removed from the constructor.

Comments

redndahead’s picture

Have committed a fix for this. Available in version 2.3. I have created a function that makes a unique ID for the div. It will then allow you to obtain that unique id using $g->get_unique_id(); So you can reference the div in some way.

redndahead’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.