Save a chart from chat
Charts in a chat answer are drafts. To keep one, put it on a dashboard.1
Click Add to
Add to sits in the chart’s title row.
2
Pick a dashboard
Choose one under Recents, or New dashboard to create an Untitled Dashboard.
3
Open the dashboard
A message confirms Chart added to …. Click Go to dashboard to open it.
Quick changes from a chart’s menu
Open a chart’s menu (…) for these actions.
A chart whose SQL was changed by hand shows a SQL edited badge in chat.
Outside dashboards, a chart with a date filter shows its period and granularity next to the title. Click them to look at another period.
The chart editor
The chart editor has a chat on the left and the chart on the right. Open it with Advanced edit mode, or create a new chart:- New chart in the command palette, or press T, starts from a chat. Describe the chart and the Matys AI analyst builds it.
- Run SQL query, or press Q, starts with the SQL editor and a table.
- Iterate by chat
- Edit the SQL
- Chart or Response
Type what you want changed in Describe changes to your chart…. Each change the Matys AI
analyst makes creates a new version of the chart. The chat lists every version as a card with
its number, such as V2, and marks the Current version.
Chart types
Pick the type in the settings panel under Chart type. When you switch types, Matys keeps the label and value columns where it can. A type that doesn’t fit the data is disabled and says why.Line / bar
Line / bar
Plots one or more metrics against a Label column on the Horizontal axis. Each metric can
be a Bar, Line or Area, on the Left axis or Right axis. You can Stack
bars, set a Target per axis and turn on Show KPIs. Needs a label column and a numeric
column.
Pie
Pie
Splits a Value column across the slices of a Label column. You can choose which
Slices to show. Needs a label column and a numeric column.
Gauge
Gauge
Shows one Metric against a Range with a Minimum and Maximum. Add Thresholds
to mark zones. Each threshold MUST fall inside the range. Needs a numeric column.
KPI
KPI
Shows a single number from a Value column. Needs a numeric column. The query MUST return a
single row to switch to KPI.
Table
Table
Shows the rows as a table. Choose which Columns to show. Column headers let you sort, filter
and hide columns.
Chart filters
A chart filter, also called a placeholder, lets people change part of the query without editing the SQL. It is the hook that dashboard filters connect to.1
Add the filter
In the chart editor, click Add filter (+). Give it a Filter name such as
status or
region. It starts with a letter or an underscore and holds only letters, digits and
underscores.2
Configure it
Set a Label, a Type and an Operator, then a Default Value. Click Create.
3
Use it in the SQL
Reference it in the query as
{{ name }}, for example WHERE status = {{ status }}.
Filters show above the chart. Use a filter’s menu to edit or remove it.
Dropdown options
A dropdown filter takes its options from a Static list you type, or from a Dynamic (datasource query). A dynamic query returns avalue column and an optional label column, up to 1,000 rows. Click Validate & preview to check it.
Versions
Each change made through chat is a new version. Older versions stay listed in the chart editor chat.- Click a version card to look at it.
- Click Restore this version on the card, or in the top bar while you view it, to make it current again.