---
name: VizPanel
lang: cpp
domain: viz
version: "1.0.0"
algebraic: product
definition: |
  struct VizPanel {
      ViewMode    display;
      ViewConfig  config;
      mutable ViewMode last_non_table;
  };
description: "Viz adicional sobre el mismo StageOutput. State tiene panel principal (display+viz_config) + vector<VizPanel> extras."
tags: [tql, viz, panel, product-type]
uses_types: [ViewMode_cpp_viz, ViewConfig_cpp_viz]
file_path: "cpp/functions/core/data_table_types.h"
---

## Notas

`last_non_table` memoria del ultimo display !=Table para toggle Table↔View rapido en UI. Mutable porque se actualiza durante render (no rompe const correctness).
