Files
fn_registry/cpp/functions/viz/gauge.h
T
egutierrez 7eef2544ab feat: add C++ ImGui functions for core UI and visualization
Funciones C++/ImGui para dashboards (grid, panel, docking, sidebar, tabs),
visualizaciones (candlestick, gauge, histogram, pie, sparkline, heatmap,
scatter, line, bar, surface3d, kpi, table), grafos (force layout, renderer,
viewport, spatial hash, types) y utilidades (time series buffer, tracy zones,
memory/fps overlay, plot theme).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 00:10:18 +02:00

7 lines
291 B
C

#pragma once
// Renders a circular gauge/speedometer indicator using ImGui draw primitives.
// Call within an ImGui frame.
// color is interpolated green->yellow->red based on normalized value.
void gauge(const char* label, float value, float min_val, float max_val, float radius = 60.0f);