UI-Research / college-affordability.urban.org

0 stars 0 forks source link

Axis padding does not render on load, but does on reload #213

Open vivhou opened 7 years ago

vivhou commented 7 years ago

Upon the initial load of the page, the top of the multiples graph is cut off but then when refreshing the page, this is no longer an issue. This is problematic for long x-axis labels.

Examples in Covering Expenses/Borrowing:

1) In the multiples below, specifically graph 05_134.json, the top x-axis label "Full-time full-year" is cut off on the initial load of the page: screen shot 2017-02-01 at 8 49 27 am

2) Same issue for another set of multiples, specifically 05_0172.json: screen shot 2017-02-01 at 8 51 14 am

bchartoff commented 7 years ago

Welp, I don't see how to really resolve this. Text is now legible due to chart tweaks in these commits:

df91345e8d89a0d72ec46ec273f6973297a069d6 7030221231f4b262c2ac5fec561221a21d5e6f14 96fa3922964e716d8ce5b5da96c92ab503ee21e5

But the text is still not loaded 100% correctly onload. Not a padding issue, I don't think, I think just c3 being semi broken. Leaving open, in case issues re-arise