---
name: ViewMode
lang: cpp
domain: viz
version: "1.0.0"
algebraic: sum
definition: |
  enum class ViewMode {
      Table,
      Bar, Column, GroupedBar, StackedBar,
      Line, Area, Stairs,
      Scatter, Bubble,
      Histogram, Histogram2D, Heatmap, BoxPlot,
      Stem, ErrorBars,
      Pie, Donut, Funnel, Waterfall,
      KPI, KPIGrid,
      Candlestick, Radar
  };
description: "Modo de visualizacion ImPlot del stage activo. ~25 variantes cubriendo bars/lines/distribution/composition/specialized. Dispatcher en viz::render."
tags: [tql, viz, imgui, implot, sum-type]
uses_types: []
file_path: "cpp/functions/core/data_table_types.h"
---

## Notas

Tokens lowercase via `view_mode_token`/`view_mode_from_token` para TQL emit/apply. Helpers `view_mode_needs_numeric/category/aggregation` guían UI (combo selectable solo si schema compatible).

`Table` siempre disponible (fallback render por defecto). Demas requieren al menos cols compatibles. Click-to-drill (fase 10): Bar/Column/Scatter/Bubble/Pie/Donut/Funnel/Heatmap.
