Redash Dashboard with mdx support
use Redash API and Redash/Vis in MDX to write report (dashboard).
- write your query in Redash, write down the query id.
- use the query id to fetch data.
useRedashData(queryId)
- use the data in your custom React Component.
- create plot in Redash, write down the query id and plot id.
http://192.168.0.135/queries/53/source#76 -> (53, 76)
- use the plot in your MDX.
<RedashPlot queryId={53} plotId={76}></RedashPlot>
the same with plot, but RedashTable has only on parameter queryId.
<RedashTable queryId={41}></RedashTable>
related: https://www.evidence.dev/