I’m trying to add some simple modifications to the default graph panel plugin, but I’m failing to build it.
As far as I understood, it’s an angular type plugin (judging from the
.ts file type and the
angular imports), so I started from https://github.com/grafana/simple-angular-panel (from the docs) but when I copied over the contents of the default graph panel plugin to ./src/ and tried building it (via yarn dev) it blew up with a bunch of errors. The react plugin was behaving the same way (tried it because I saw some .tsx files in the Legend folder).
What is the proper way to extend the Grafana Graph Panel?
Edit: Clarifying that I want to extend the default grafana graph panel and not the default example plugin from the documentation.