toorshia/justgage

Error in raphael 2.1.4 js

RitterD opened this issue · 1 comments

Hi,

first of all I like the function and design of your gauge realy much and its perfect for my usage.
But everytime I call the function to draw the gauge I receiving this Error:
raphael-2.1.4.min.js:10 Error: attribute d: Expected moveto path command ('M' or 'm'), "Z".

grafik

Here is the function in JS:
`
function Vibration(val) {

var gauge = new JustGage({
    id: "g1",
    value: val,
    min: 0,
    max: 100,
    title: "Vibration"
});

}
`

HTML:
<div id="g1" class="200x160px"></div>

Thank you very much in advance!

Same here.