7c95b36a5f
Auditoria del issue 0044: 9 archivos .md de cpp/functions/viz/ con uses_functions actualizado. Resuelve dependencias detectadas via #include: plot_static (consumido por bar_chart, histogram, line_plot, pie_chart, scatter_plot), gl_loader, gl_framebuffer, gl_shader, graph_force_layout, graph_renderer, graph_spatial_hash, orbit_camera, sparkline y tokens. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path, framework, params, output, notes
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | tested | tests | test_file_path | file_path | framework | params | output | notes | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| line_plot | component | cpp | viz | 1.1.0 | pure | void line_plot(const char* title, const float* xs, const float* ys, int count, float height = 200.0f) | Line plot 2D con ImPlot, ejes pineados y altura explicita para no vibrar al redimensionar |
|
|
false |
|
false | cpp/functions/viz/line_plot.cpp | imgui |
|
Renderiza la linea en el frame ImGui actual con ejes pineados | consumido por cpp/apps/chart_demo/main.cpp; scaffolding/demo en primitives_gallery |
line_plot
Wrapper atomico sobre ImPlot::PlotLine configurado para visualizacion estatica.
v1.1
- Altura explicita (
height) — evita vibracion en contenedores conAutoResizeY. - Ejes pineados con
plot_static::kAxisFlags+ImPlotCond_Alwayscalculados a partir de los extremos dexs/yscon 5% de headroom en Y. - Sin inputs, sin auto-fit — ver
viz/plot_static.h.
Soporta float y double.