Magidoc

DashboardChartRowClickParam
Object

Makes a column of this chart's table clickable: clicking a cell sets a dashboard param to the cell's value, or to another column's value in the same row (e.g. clicking a session's start date filters the steps chart to its session_id).

Fields

#

column

Non-null

The Metabase result column name whose cells become clickable (e.g. session_id).

hideValueColumn

Non-null

Hides the value column from the table. It stays in the results (so the click can still read it), just not on screen. Only set alongside a valueColumn.

paramSlug

Non-null

The dashboard param slug a click sets. It must belong to another chart, never this one, so a click never reloads the chart that was clicked.

valueColumn

The result column whose value (in the clicked row) the click sets, e.g. session_id when the start date is clicked. Null uses the clicked cell itself.

Usages

#

References

#