The AJAX Panel can load external content into the dashboard. This is a more powerful and flexible solution than using an <iframe
-
Method:
GET or POST or iframe
-
URL:
The URL to request
-
Parameters:
The parameters that will be passed in the request. This is a javascript object with access to the variables:
ctrl
The control object.
Sample Parameters:
{ from:ctrl.range.from.format('x'), // x is unix ms timestamp to:ctrl.range.to.format('x'), height:ctrl.height }
- Support template variables in url (@linar-jether)
- Adding iframe method (@linar-jether)
- Quick and Dirty, but it works!
- Toggle the 'spinner' for panel
- Get the panel width?
- Error handling
- avoid the 'Data source query result invalid, missing data field: undefined' error message
- Add authentication info to the sub-request?
- Configure timer to refresh
- Load CSS file?
- configure javascript for display
- why does the
Time range
>Override relative time
not work? - Check that parameters have changed before sending a new request