Package-level declarations
Types
Utility object for chart styling and component creation. Provides reusable styled lines, points, and axes for Vico charts.
ViewModel responsible for managing and graphing metrics (telemetry, signal strength, paxcount) for a specific node.
Functions
An adaptive layout for metric screens. Uses a split Row for wide screens (tablets/landscape) and a stacked Column for narrow screens (phones). When isChartExpanded is true, the card list is hidden and the chart fills the available space.
A high-level template for metric screens that handles the Scaffold, AppBar, adaptive layout, and chart-to-list synchronisation.
A generic chart host for Meshtastic metric charts. Handles common boilerplate for markers, scrolling, and point selection synchronization.
Full-screen host metrics log with chart and card list, built on BaseMetricScreen. Shows load averages and free memory over time with time-frame filtering, chart expand/collapse, and card-to-chart synchronisation.
Draws a small colored line segment or circle to identify a chart series.
Displays a dialog with information about the legend items.
Common scaffold for all metric chart composables. Provides:
Shared metric log/list UI components used by TracerouteLog, NeighborInfoLog, HostMetricsLog, and PositionLog.
A compact row displaying a colored MetricIndicator dot/line followed by a text value.
A SelectableMetricCard-based position item that matches the visual style of DeviceMetricsCard, SignalMetricsCard, and other metric cards. Replaces the previous table-row layout with a card that shows timestamp, coordinates, satellites, altitude, speed, and heading.
Creates a LineCartesianLayer only when hasData is true, returning null otherwise.
Safely extracts the hardware model number from a HardwareModel enum.
A selectable Card for metric log items. Provides consistent selection styling (primary border + primaryContainer background) and text selection support across all metric screens.
Full-screen traceroute log with chart and card list, built on BaseMetricScreen. Shows forward/return hops and round-trip duration over time. Supports time-frame filtering, chart expand/collapse, and card-to-chart synchronisation.