UI-Research / college-affordability.urban.org

0 stars 0 forks source link

Multiple series in toggles #169

Closed vivhou closed 7 years ago

vivhou commented 7 years ago

Is it possible to do a multiple series in toggles? We've only used one series so far...my attempt is in example 07_0070.json (student profiles/ low-income-dependent-students): screen shot 2016-12-13 at 11 11 24 am

vivhou commented 7 years ago

This is a pretty common case, if I can figure out this one, it will solve about half of the graphs that are left to do.

In example 07_0040.json (student profiles/independent), it seems like adding "set1= fig7_4[,c("column 1", "column 2")] " ends up causing this: screen shot 2016-12-14 at 1 43 27 pm

but ideally i'd like to have: "set1": [ "In state", [ [ "X4_in", 29356.4, 27807.5893 ], [ "X5_in", 36695.5, 34759.4866 ] ] ],

bchartoff commented 7 years ago

@vivhou please confirm this has been fixed by https://github.com/UrbanInstitute/ed-data/commit/1064c40683a259899667bb5384f15bf0d5354856 , then close the issue if everything is functional

vivhou commented 7 years ago

Solved, need to add arrays in "group" manually