minTxt and maxTxt not working
MrCraftfreak opened this issue · 1 comments
MrCraftfreak commented
The code below is the one i made but it doesn't show the minTxt and maxTxt
<!doctype html>
<title>Defaults</title> <style> .container { width: 600px; margin: 100px auto; text-align: center; }.gauge {
width: 350px;
height: 250px;
display: inline-block;
}
var dflt = {
min: 0,
max: 200,
minTxt: 'no',
maxTxt: 'yes',
donut: false,
gaugeWidthScale: 0.8,
counter: true,
hideInnerShadow: true
}
var gg1 = new JustGage({
id: 'gg1',
value: 50,
title: 'test',
defaults: dflt
});
});
</script>
robertsLando commented
minTxt
and maxTxt
overrides min
and max
values