Commits

tomasc committed 164d2f3

Fixes issue #528

  • Participants
  • Parent commits 1f9ae1e

Comments (0)

Files changed (1)

File src/jqplot.toImage.js

                     var t = top + elem.position().top + parseInt(elem.css('padding-top'), 10);
                     newContext.font = elem.jqplotGetComputedFontStyle();
                     newContext.fillStyle = elem.css('color');
-                    newContext.fillText(elem.text(), l, t);
+                    writeWrappedText(elem, newContext, elem.text(), l, t, w);
                 });
 
                 var elem = null;
         }
     };
     
-})(jQuery);
+})(jQuery);