Throw error when instantiating unrecognized charts

This explicit error is more instructive than what is currently being
thrown in this case:

    Uncaught TypeError: Cannot read property 'prototype' of undefined