Giter Site home page Giter Site logo

grafana-graph-panel's Introduction

Graph Panel

Webpack copy of Grafana default panel. Now you can make your plugins based on graph panel and hack it easier.

Works only on Grafana versions >= V5.0.1

Build

npm install
npm run build

After you fork

Sorry, but it's common for Grafana plugins make directives which collide with each other. It comes from AngularJS. Use ctrl+f to find params in source code files below:

  • Change in plugin.json id from graph-panel-template-panel to something-else-graph-panel
  • Change in src/graph.ts directive name from grafanaTemplateGraph to somethingElseGraph
  • Change in src/legend.ts directive name from graphTemplateLegend to somethingElseLegend
  • Change in src/axes_editor param templateUrl param from public/plugins/graph-panel-template-panel/partials/axes_editor.html to public/plugins/something-else-graph-panel/partials/axes_editor.html
  • Change in template.ts param grafana-template-graph to something-else-graph and graph-template-legend to something-else-legend
  • in case you debug with VSCode, change in .vscode/launch.json param /public/plugins/graph-panel-template-panel to /public/plugins/something-else-graph-panel

Credits

Made by CorpGlory Dev Team

Based on

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.