Plugins 〉Pie Chart

Panel
grafana

Pie Chart

  • Overview
  • Installation
  • Change log
  • Related content

CircleCI David Dependancy Status David Dev Dependency Status

Use the new grafana-cli tool to install piechart-panel from the commandline:

grafana-cli plugins install grafana-piechart-panel

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins if you installed the grafana package.

More instructions on the cli tool can be found here.

You need the lastest grafana build for Grafana 3.0 to enable plugin support. You can get it here : http://grafana.org/download/builds.html

Alternative installation methods

Download latest zip

wget -nv https://grafana.com/api/plugins/grafana-piechart-panel/versions/latest/download -O /tmp/grafana-piechart-panel.zip

Extract and move into place

unzip -q /tmp/grafana-piechart-panel.zip -d /tmp
mv /tmp/grafana-piechart-panel-* /var/lib/grafana/plugins/grafana-piechart-panel
sudo service grafana-server restart

Git Clone

It is also possible to clone this repo directly into your plugins directory.

Afterwards restart grafana-server and the plugin should be automatically detected and used.

git clone https://github.com/grafana/piechart-panel.git --branch release-1.3.8
sudo service grafana-server restart

Clone into a directory of your choice

If the plugin is cloned to a directory that is not the default plugins directory then you need to edit your grafana.ini config file (Default location is at /etc/grafana/grafana.ini) and add this:

[plugin.piechart]
path = /home/your/clone/dir/piechart-panel

Note that if you clone it into the grafana plugins directory you do not need to add the above config option. That is only if you want to place the plugin in a directory outside the standard plugins directory. Be aware that grafana-server needs read access to the directory.

For more information, visit the docs on plugin installation.

Change Log

[1.6.1] - 2020-09-14

  • Fixed issue with legend color picker #248

[1.5.0] - 2020-05-15

  • Updated logo
  • Sanitize legend header. Thanks rotemreiss #230
  • Signed for Grafana 7.0

[1.4.0] - 2020-02-04

  • Added combine option for legend

[1.3.9] - 2019-09-05

  • Fixed dark/light mode text font colors: #189.

[1.3.8] - 2019-07-22

  • Added hotfix for older versions of grafana

[1.3.7] - 2019-07-22

  • Converted to typescript.
  • Fixed several bugs.
  • Fixed 6.3 compatibility.
  • Used toolkit for building.
  • Fixed for issue #154.

1.3.3

  • Fixed legend sorting: #145

1.3.2

  • Automatically set legend width if Internet Explorer 11 and positioned to the right: #148

1.3.1

  • Fixed scrolling and legend issues in Internet Explorer 11: #143

1.3.0

  • Fixed legend and piechart rendering and sorting: #138, #136
  • Fixed decimal field for percentages #108

1.1.5

1.1.4

  • Added support for combining small slices (https://github.com/grafana/piechart-panel/pull/43)
  • Added option to show percentage in legend https://github.com/grafana/piechart-panel/pull/41

1.0.2

  • Added piechart piece divider setting
  • Removed unused code
  • Added fontsize option for labels on graph
  • Only show the displayed piechart value in legend
  • Added possibility to pick stat to use for piechart