Smart Charts
Last updated
Last updated
This is the official documentation of the @forestadmin/agent
Node.js agent.
Due to popular demand, Live Query Charts are planned to be reintroduced in a future version of the agent, but we don't have a timeline for it yet.
allowed the creation of charts from SQL queries from the UI.
You can find the full documentation of chart customization .
You can retrieve the SQL query of a Live query chart
by clicking on the Cog
icon of the chart when using the Edit Layout
mode.
When you create a new API chart, you will need to retrieve the URL of the generated chart.
It is printed to the console when the agent starts (in development mode).
If you are following this guide step by step, you are probably testing your agent on a temporary project.
You may want to postpone this step until you have replaced your old agent with the new one.
Instead of Query
, select Smart
in the data source selector, and enter the path that was printed to the console in the previous step.
The next step will be to create a new using the SQL query you retrieved in the previous step.