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

Top charts not appearing in top widget #13

Open
jgbarah opened this issue Jan 4, 2014 · 2 comments
Open

Top charts not appearing in top widget #13

jgbarah opened this issue Jan 4, 2014 · 2 comments
Labels

Comments

@jgbarah
Copy link
Member

jgbarah commented Jan 4, 2014

I'm using the following HTML and JSON code. I see the table with the list of ticket closers, but I cannot see the bar chart that (I gues) should appear. The only "strange" issue I see in the JSON file is that there are less than 10 closers, which is the specified limit... But I don't know if that matters.

<div class="Top" data-data-source="its" data-graph="bars"
             data-metric="closers" data-limit="10" data-people_links="true"></div>
{"closers.":{"id":[15,14,20,17,21,19],"closers":
["acs","dicortazar","jgbarah","athanrous","sduenas","sanacl"],"closed":
[36,18,7,1,1,1]},"closers.last year":{"id":[15,14,20,17,21,19],"closers":
["acs","dicortazar","jgbarah","athanrous","sduenas","sanacl"],"closed":
[33,18,7,1,1,1]},"closers.last month":{"id":[14,15,19,20,21],"closers":
["dicortazar","acs","sanacl","jgbarah","sduenas"],"closed":[5,5,1,1,1]},
"closers.last week":{"id":[15,20],"closers":["acs","jgbarah"],"closed":[3,1]}}
@acs
Copy link
Member

acs commented Jan 7, 2014

The bar chart only appears if you specify it:

http://demo.bitergia.com/doc/

Pulse over "Top" button to see an example.

@acs acs closed this as completed Jan 7, 2014
@jgbarah
Copy link
Member Author

jgbarah commented Jan 7, 2014

Do you mean that I should include a 'data-graph="bars"' parameter? I'm doing so.. See the HTML code in the first post for this issue (I'm sorry, I had messed up with the markup and the coded didn't appear: that's fixed now).

I'm reopening, just in case I was doing the right thing... Please, re-close if that's not the case.

@jgbarah jgbarah reopened this Jan 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants