@@ -141,6 +141,7 @@ export class TrendsSVGContainer extends PureComponent {
141141 return (
142142 < SMBGRangeAvgContainer
143143 bgBounds = { this . props . bgPrefs . bgBounds }
144+ bgUnits = { this . props . bgPrefs . bgUnits }
144145 data = { data }
145146 focusSmbgRange = { this . props . focusSmbgRange }
146147 unfocusSmbgRange = { this . props . unfocusSmbgRange }
@@ -160,6 +161,7 @@ export class TrendsSVGContainer extends PureComponent {
160161 const slices = (
161162 < CBGSlicesContainer
162163 bgBounds = { this . props . bgPrefs . bgBounds }
164+ bgUnits = { this . props . bgPrefs . bgUnits }
163165 sliceWidth = { this . state . chartWidth / 56 }
164166 data = { this . props . cbgData }
165167 displayFlags = { this . props . displayFlags }
@@ -177,6 +179,7 @@ export class TrendsSVGContainer extends PureComponent {
177179 const dateTraces = (
178180 < CBGDateTracesAnimationContainer
179181 bgBounds = { this . props . bgPrefs . bgBounds }
182+ bgUnits = { this . props . bgPrefs . bgUnits }
180183 data = { focusedSegmentDataGroupedByDate }
181184 dates = { _ . keys ( focusedSegmentDataGroupedByDate ) || [ ] }
182185 focusCbgDateTrace = { this . props . focusCbgDateTrace }
@@ -217,6 +220,7 @@ export class TrendsSVGContainer extends PureComponent {
217220 < SMBGsByDateContainer
218221 anSmbgRangeAvgIsFocused = { this . props . focusedSmbgRangeAvg !== null }
219222 bgBounds = { this . props . bgPrefs . bgBounds }
223+ bgUnits = { this . props . bgPrefs . bgUnits }
220224 data = { this . props . smbgData }
221225 dates = { this . props . dates }
222226 focusSmbg = { this . props . focusSmbg }
@@ -239,6 +243,7 @@ export class TrendsSVGContainer extends PureComponent {
239243 < SMBGsByDateContainer
240244 anSmbgRangeAvgIsFocused = { false }
241245 bgBounds = { this . props . bgPrefs . bgBounds }
246+ bgUnits = { this . props . bgPrefs . bgUnits }
242247 data = { this . props . focusedSmbg . allSmbgsOnDate }
243248 dates = { [ this . props . focusedSmbg . date ] }
244249 focusSmbg = { this . props . focusSmbg }
0 commit comments