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

Bar chart width #74

Closed
AsMoh opened this issue Aug 9, 2015 · 2 comments
Closed

Bar chart width #74

AsMoh opened this issue Aug 9, 2015 · 2 comments

Comments

@AsMoh
Copy link

AsMoh commented Aug 9, 2015

Hi,

I have included the peity library, and inside a div I added this line
5,3,9,6,5,9,7,3,5,2.
And I added this line to my script file.
$(".bar").peity("bar")

However, the bar chart is displayed as a line as shown in the following image.

peity

peity2

Can you guide me to solve this problem, please? I tried to increase the width and the height of class bar , but it did not work.

Thank you in advance.

@benpickles
Copy link
Owner

My guess is that there's a later call to create a Peity line chart that's overwriting the bar chart call. Perhaps if you comment out all other calls to Peity you may be able to see a working bar chart and track down the offending code.

@AsMoh
Copy link
Author

AsMoh commented Aug 9, 2015

Ohh .. You are right .. Thank you so much.

@AsMoh AsMoh closed this as completed Aug 9, 2015
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

2 participants