Add new Flot plugin in Grafana

Hi there!
I’m developing a gantt-like plotting panel.
Can i have some hint about how to include a new flot plugin?
Apparently, the result that I’m seek for is put a custom version of this in here.

Thanks in advance.

1 Like

Not sure, try just importing it with systemjs

I just put my flot plugins in an src/external folder and changed Gruntfile.js:

copy: {
    externals: {
        cwd: 'src',
        expand: true,
        src: ['**/external/*'],
        dest: 'dist'

Now I can import plugins with

import * as mouse from './external/jquery.flot.mouse.js';

Thanks again