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

changing value of value field changes chart width #431

Open
rgdonohue opened this issue Jun 19, 2018 · 0 comments
Open

changing value of value field changes chart width #431

rgdonohue opened this issue Jun 19, 2018 · 0 comments

Comments

@rgdonohue
Copy link

rgdonohue commented Jun 19, 2018

I'm using v0.9.2 and dynamically building the datasets and charts within the JS code.

Within a loop, this code produces an acceptable chart:

var attr = {
  "attributes": {
    "age": i,
    "percent": currentCountryData["SD_mean_" + i]
  }
}

image

But when I change that decimal value to a percent,

"percent": currentCountryData["SD_mean_" + i] * 100

It creates all this whitespace to the left of the Y-axis. Any idea why?

image

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