I am trying to use a Pie Chart (Donut style format) but keep getting a No data points error. Is there a step by step guide on how to use the chart? The install instructions did not go into this level of detail. The query itself is fine but i suspect it’s my way of using it with the chart that is the issue.
This is Grafana, a tool for visualizing timeseries data. I just tried to use MySql to render a piechart using a similar query like you (without time column) and I get “Found no column named time or time_sec” even if I select format as timeseries or format as table.
Workaround is to add current date to the query like
SELECT
now() as time_sec,
item as value,
weight as metric
FROM
holdings
WHERE
weight > 0.008
ORDER BY i
tem ASC