diff --git a/rtc_tools/event_log_visualizer/analyzer.cc b/rtc_tools/event_log_visualizer/analyzer.cc index 3bdfbf32a0..9c0a1d6f75 100644 --- a/rtc_tools/event_log_visualizer/analyzer.cc +++ b/rtc_tools/event_log_visualizer/analyzer.cc @@ -1961,7 +1961,9 @@ void EventLogAnalyzer::CreateIceConnectivityCheckGraph(Plot* plot) { LineStyle::kNone, PointStyle::kHighlight); } float x = ToCallTimeSec(event.log_time_us()); - float y = static_cast(event.type); + constexpr int kIceCandidatePairEventTypeOffset = + static_cast(IceCandidatePairConfigType::kNumValues); + float y = static_cast(event.type) + kIceCandidatePairEventTypeOffset; checks_by_cp_id[event.candidate_pair_id].points.emplace_back(x, y); }