Skip to content
← All release notesNewanfra0.17.0

View the rows behind a chart's point

Right-click a point on a chart and choose View underlying data to see the rows of the model behind it.

The modal is titled by the point's value, and lists the rows that make up that number, with the query's own filters applied. Rows are sorted by every dimension, so pages don't repeat, and Load more fetches the next page until every row is in. Download them as CSV from the modal.

It shows on the menu a chart opens with query.menu(). When a chart shows several measures, pass the point's measure, so the entry is about that one:

chart.on('contextmenu', (p) => {
  byRegion.menu(p.event.event, byRegion.result.rows[p.dataIndex], { measure: p.seriesId })
})

anfra serve installs the view-underlying-data plugin, and the anfra skills write the menu into new charts.

Full changelog (opens in a new tab)