Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-value not working with "bar" #102

Open
gamebak opened this issue Feb 25, 2018 · 0 comments
Open

data-value not working with "bar" #102

gamebak opened this issue Feb 25, 2018 · 0 comments

Comments

@gamebak
Copy link

gamebak commented Feb 25, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant