AntV G6 panel for grafana 7.0+, coding with react.
Code editor is attached in the edit panel to configure the option of AntV G6.
Support G6.Graph.
- Download the packaged plugin.
- Or clone this repo and run
yarn build
. - Move folder to "/grafana_path/data/plugins".
- Restart grafana.
- G6 data and layout in the edit panel will execute when the data from grafana is refreshed, so you should avoid side effects or ensure that the side effects of the last execution can be cleared.
function (data, graph, G6) {
return {...}
}
This plugin build with @grafana/toolkit. For more information about panels, refer to the documentation on Panels
-
Install dependencies
yarn install
-
Build plugin in development mode or run in watch mode
yarn dev
or
yarn watch
-
Build plugin in production mode
yarn build
- Build a panel plugin tutorial
- Grafana documentation
- Grafana Tutorials - Grafana Tutorials are step-by-step guides that help you make the most of Grafana
- Grafana UI Library - UI components to help you build interfaces using Grafana Design System