Skip to main content

Module chart_modal

Module chart_modal 

Source
Expand description

Chart view state: chart type, axis columns, and options.

Structs§

ChartModal
Chart modal state: chart kind, axes/columns, and options.

Enums§

ChartFocus
Focus area in the chart sidebar.
ChartKind
Chart kind: full chart category shown as tabs.
ChartType
XY chart type: Line, Scatter, or Bar (maps to ratatui GraphType).

Constants§

CHART_ROW_LIMIT_MAX
Maximum applicable limit (Polars slice takes u32).
CHART_ROW_LIMIT_MIN
Chart row limit bounds (for Limit Rows option). User can go down to 0; 0 becomes unlimited (None).
CHART_ROW_LIMIT_PAGE_STEP
PgUp/PgDown step for Limit Rows.
CHART_ROW_LIMIT_STEP_LARGE
CHART_ROW_LIMIT_STEP_SMALL
CHART_ROW_LIMIT_STEP_THRESHOLD
Below this limit, +/- step is CHART_ROW_LIMIT_STEP_SMALL; at or above, CHART_ROW_LIMIT_STEP_LARGE.
DEFAULT_CHART_ROW_LIMIT
Default numeric limit when switching from Unlimited with + or PgUp.
HEATMAP_DEFAULT_BINS
Default heatmap bin count (applies to both axes).
HEATMAP_MAX_BINS
HEATMAP_MIN_BINS
HISTOGRAM_DEFAULT_BINS
Default histogram bin count.
HISTOGRAM_MAX_BINS
HISTOGRAM_MIN_BINS
KDE_BANDWIDTH_MAX
KDE_BANDWIDTH_MIN
KDE bandwidth multiplier bounds and step.
KDE_BANDWIDTH_STEP
Y_SERIES_MAX
Maximum number of y-axis series that can be selected (remembered).