Null check correction

When the nativeCanvas was not defined we had an error on Chrome
At the beginning it was to make sure methods were removed in the charts but you're right it should not be final to be extensible.