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

Discrete bar with multiple series looks much thinner.. #46

Closed
phillycoder opened this issue Nov 5, 2013 · 4 comments
Closed

Discrete bar with multiple series looks much thinner.. #46

phillycoder opened this issue Nov 5, 2013 · 4 comments

Comments

@phillycoder
Copy link

Discrete bar with multiple series looks much thinner than with one Series..
Not sure if it's bug or i am doing something wrong.

With 2 series
http://jsfiddle.net/phillycoder/DP9BT/

With 4 series, more thinner

http://jsfiddle.net/phillycoder/DP9BT/5/

@cmaurer
Copy link
Contributor

cmaurer commented Nov 5, 2013

The bars are thinner. I pulled a random svg element from each chart.

First Chart

<g transform="translate(381.1111111111111, 133.40121385965415)" class="nv-bar negative" style="fill: #98df8a; stroke: #98df8a;"><rect height="66.59878614034585" width="60.00000000000001" class="discreteBar"/></g>

Second Chart

<g transform="translate(381.1111111111111, 133.40121385965415)" class="nv-bar negative" style="fill: #98df8a; stroke: #98df8a;"><rect height="25.85718718453819" width="30.000000000000004" class="discreteBar"/></g>

I am not sure why, I will need to dig into it.

Chris

@phillycoder
Copy link
Author

I think issue is with nvd3.js , seeing same issue

Here is code using nvd3.js directly.

http://jsfiddle.net/phillycoder/8DAQX/

@cmaurer
Copy link
Contributor

cmaurer commented Nov 5, 2013

Most likely, I just wanted to make sure that something wasn't messed up in the directive before I blamed them. :)

@phillycoder
Copy link
Author

cool, i will close this one.

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