Commits

tomasc committed 06cd864

fix typo for getLineHeight() in jqplot.toImage.js

Comments (0)

Files changed (1)

src/jqplot.toImage.js

         newContext.textAlign = 'left';
         newContext.textBaseline = 'top';
 
-        function getLineheight(el) {
+        function getLineHeight(el) {
             var lineheight = parseInt($(el).css('line-height'), 10);
 
             if (isNaN(lineheight)) {
         }
 
         function writeWrappedText (el, context, text, left, top, canvasWidth) {
-            var lineheight = getLineheight(el);
+            var lineheight = getLineHeight(el);
             var tagwidth = $(el).innerWidth();
             var tagheight = $(el).innerHeight();
             var words = text.split(/\s+/);