#pragma once #include "imgui.h" // Renders a mini inline line chart for use in tables, headers and KPI cards. // Auto-scales Y to the min/max of values. // Uses PushID/PopID with id for uniqueness inside tables. void sparkline(const char* id, const float* values, int count, float width = 100.0f, float height = 20.0f); void sparkline(const char* id, const float* values, int count, ImVec4 color, float width = 100.0f, float height = 20.0f);