Chart types
Cube has built-in support for bar, line, area, pie, scatter, heatmap, KPI, map, boxplot, and more. See the chart types overview for a full list and guidance on which type fits which data shape.Selecting a chart type
Chart type icons at the top of the chart panel let you quickly switch between common layouts — grouped vs. stacked bars, line vs. area, table vs. chart view — without opening the full configuration panel.
When you run a query on a new tab, Cube shows the chart type picker rather than picking for you. It outlines the type that best fits your query and labels it Recommended — see Recommended chart type — but choosing one is always your action. Any manual configuration you apply is preserved when you change query fields.
Resetting chart settings
Sections of the configuration panel — fields, series, pivot, column widths — each carry their own Reset control, which clears that section back to its defaults. Resetting does not change the chart type you picked.Generate charts with AI
Describe the visualization you want in plain language — for example, “show this as a stacked bar grouped by status” — and the AI agent will build and configure it. You can also let the agent auto-suggest the best chart for your query results. This is a separate mechanism from the Recommended outline in the chart type picker: the agent writes a Vega-Lite spec and applies it, while the recommendation only marks a built-in type for you to pick. Charts generated by the AI are written as Vega-Lite v5 specs and can be further edited in the custom visualization spec editor.Configure charts
Adjust the appearance of any chart through the configuration panel:- Color and stacking — Color palettes, series coloring, and stacking behavior
- Series configuration — Per-series mark type, color, and display options
- Series mapping — Assign query fields to chart channels (X, Y, color, size)
- Axes — Axis titles, grid lines, scale, reference lines, and reference bands
- Tooltips — Fields shown on hover
- Data labels — Values displayed directly on chart marks
Clicking a value
A click on a value in a chart opens the same menu as a measure cell in a table. You can click a bar, a line or area point, a pie slice, a scatter point, a heatmap cell, a funnel stage, a box, a Sankey ribbon, a map marker, or the value of a KPI chart’s Number or Sparkline block. The menu opens in workbooks and on dashboards: in the dashboard builder, on published dashboards and on embedded ones. While you edit a dashboard, a click on a KPI value doesn’t open the menu. A click alone doesn’t drill down. Choose Drill down in the menu instead.
- A title that names the clicked value: each dimension’s title and value, then the measure’s title and formatted value.
- Open in and the target dashboard’s title, on a chart with a drill-through.
- Drill down, when the measure has
drill_membersdefined, and Copy value, which copies the raw (unformatted) value. - The cross-filter items: Filter dashboard by this point, Narrow filter to this point and Reset this filter.
- Comment on this point and Comment on whole chart, on a published dashboard with comments on.
- The Other slice of a pie chart, and a Sankey ribbon that touches a grouped Other node, offer only Copy value. They cover several members, so they have no title and no Drill down.
- A KPI total with no dimension has no title.
- A region of a region map offers the drill-through, comment and cross-filter items only, with no title and no Copy value.
Opening the menu from the keyboard
The menu opens from the keyboard wherever a click opens it:- Tables. Move to a cell with Tab and the arrow keys, then press Shift+F10 or the context-menu key. The cell’s menu opens at the cell, and Esc closes it and puts the focus back on the cell. The keys work the same on a cell you clicked, once Esc has closed the menu the click opened. Cmd/Ctrl+C still copies the cell.
- Charts and maps. A chart whose click opens the menu is one Tab stop, announced as “Use the arrow keys to move between points, and Enter or Shift+F10 to open a point’s actions.” On a chart, ← and → step through the points in sight from left to right, and ↑ and ↓ to the nearest point above or below at the same position, such as another series. On a map, the arrow keys step through the markers, or the regions of a region map, from west to east and from north to south. The focused point shows its tooltip, where the chart has one, and Enter, Shift+F10 or the context-menu key does what a click on it does: it opens the menu at the point. Esc leaves the point. A chart that draws no point is no Tab stop.