Git Product home page Git Product logo

barchart-panel's Introduction

The barchart-panel is based on the original grafana piechart-panel #Sample SQL to use the barchart

Should have a 'label' column, then 1-n series columns. It will stack the series.

select 'c1' as label, 0.456 as opens,0.193 as clicks union select 'c2' as label, 0.456 as opens,0.193 as clicks union select 'c3' as label, 0.456 as opens,0.193 as clicks union select 'c4' as label, 0.456 as opens, 0.193 as clicks;

Barchart Screenshot

Installation

Until this plugin is not pushed to grafana.net, just clone the barchart-panel repository to your grafana plugin dir. See official documentation for more information.

git clone https://github.com/mmethner/barchart-panel.git
sudo service grafana-server restart

Changelog

0.0.1

First working version with some options for customizing the legend.

Testing

To start grafana with a local copy run

docker build -t barchart-panel .
docker run -p3000:3000 barchart-panel

Development

Install node_modules npm install and grunt cli npm install -g grunt-cli
Build grunt

To develop with a running grafana instance, start the file watcher and mount the sources to docker:

grunt watch
docker build -t barchart-panel .
docker run -p3000:3000 -v $WORKSPACE/barchart-panel:/data/plugins/grafana-barchart-panel/ barchart-panel 

barchart-panel's People

Contributors

clundberg avatar mathiasmethner0815 avatar mmethner avatar

Watchers

 avatar  avatar  avatar

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.