cedar icon indicating copy to clipboard operation
cedar copied to clipboard

changing value of value field changes chart width

Open rgdonohue opened this issue 6 years ago • 0 comments

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

rgdonohue avatar Jun 19 '18 14:06 rgdonohue