Changed from className to setAttribute as ff32 does not use element.className for SVG elements, fixes #41
Added special check for cases where bounds have been misconfigured or data series contain data with the same value only, fixes #40