RhoInc/safety-results-over-time

Optionalize units argument.

samussiah opened this issue · 2 comments

Measure dropdown options should include units.

Test notes

  • Verify that the unit value for a given measure is appended to the measure in the Measure dropdown and in the y-axis label.
  • Set Unit (setting: unit_col) to a nonexistent variable name in CAT and re-render the chart. The chart should behave identically, except units are not appended to measures.

Normal ranges too.

When I remove the unit_col argument in CAT and re-render, I still see the units in the Measure dropdown and the y-axis label.