data-value not working with "bar"
gamebak opened this issue · comments
Alexandru C commented
Hey,
I wanted to try out the latest data-value attribute, but I can't figure why it isn't working:
My attempts:
<span class="bar" data-value="9,8,9,10,9,9,7,8,7,9">9,8,9,10,9,9,7,8,7,9</span>
<span class="bar" data-value="123">9,8,9,10,9,9,7,8,7,9</span>
JS part
$(".bar").peity("bar", {
height: 36,
fill: ['rgba(100,100,100,0.85)'],
width: 65,
padding: 0.2
});
Not sure what I'm not doing ok, can you give me an example when you have time?