Problems with html2canvas and justgage

116 views Asked by At

I'm facing a problem with html2canvas and justgage. The html2canvas edits and cuts the original image, making it impossible to see the informations.

Here is the pictures of canvas

original and edited by html2canvas

.. and the code of html2canvas:

function screenshot(){ //function to get a picture 
          html2canvas(document.getElementById('gauges')).then(function(canvas){
          onRendered:
            locale = canvas.toDataURL() // here i keep the image base64 in a variable
        })
      }

(Sorry I'm Brazilian and I'm using Google Translate)

0

There are 0 answers