UI-Research / college-affordability.urban.org

0 stars 0 forks source link

Single multiple in second row is randomly in middle #187

Closed vivhou closed 7 years ago

vivhou commented 7 years ago

Why is the second row of the top set of multiples aligned in the center, while the second row of the bottom set of multiples is aligned to the left? screen shot 2017-01-05 at 9 39 07 am

vivhou commented 7 years ago

This is in financial-aid/other, the fourth multiple of the first set is 04_2214.json

bchartoff commented 7 years ago

I can't replicate this. What browser/ screen width? Consistently happening on pg reload?

vivhou commented 7 years ago

Yes it happens even on reload, this is in Chrome at 2560 width...I figured out the issue though, this happened after I added the subtitle "Total" in the first graph, as this pushed it down and probably caused the graph in the second row to move over to the right. But I wonder why this doesn't happen in the second set of multiples...

bchartoff commented 7 years ago

Oh I see, I can recreate now for whatever reason (I think you might not have pushed the JSON?) until recently?

Other small multiples have the title in axis.x.label, not in title. Hand corrected this with commit 46b62ad86f4fcaa493cd4fae7552277fa1100aba , @vivhou please either update the R script appropriately, or make a note in the hand corrections doc

bchartoff commented 7 years ago

(reponed, @vivhou please close when the script or hand correction is made)

vivhou commented 7 years ago

Gotcha, thanks! I actually had added xlabel in the Rcode when I added the title by hand, I just was too lazy to actual rerun the graph, but glad this isn't a big issue!