fn initialize_time_ranges_ui( entity_db: &EntityDb, time_ctrl: &TimeControl, time_x_range: Rangef, time_view: Option<TimeView>, ) -> TimeRangesUi