Skip to content

New Lavacharts#exists() method

Compare
Choose a tag to compare
@kevinkhill kevinkhill released this 14 Apr 01:59
· 856 commits to 3.1 since this release

The new method exists($type, $label) can be used to check if a created chart exists in the volcano (chart storage).

If a chart was created:

$lavacharts->LineChart('Test');

Then a call to the method $lavacharts->exists('LineChart', 'Test'); will return true