@sym3tri: Since <code>g.config('showLegend', false);</code> doesn't work, I suggested @stewsmith  to destroy the component for now and then fix that issue in another PR.