Plugins 〉Pie Chart


Developer
Grafana Labs


Sign up to receive occasional product news and updates:



The Pie Chart plugin has been deprecated and is no longer maintained.

Panel
grafana

Pie Chart

  • Overview
  • Installation
  • Change log
  • Related content

Notice: This plugin is deprecated

Marketplace Downloads License Known Vulnerabilities Build Status

As of Grafana 8.0 Pie chart panel is included with Grafana. Please refer to the Pie chart panel documentation for more information.

Installation

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 Grafana CLI tool can be found in Grafana CLI.

You must have Grafana 4.6.5 or newer installed to run this plugin. You can get it here: https://grafana.com/grafana/download

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

You can 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.6.2
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, then 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. Make sure that grafana-server has read access to the directory.

Installing Pie Chart on Grafana Cloud:

For more information, visit the docs on plugin installation.

Change Log

[1.6.4] - 2022-11-04

  • Fix readme

[1.6.3] - 2022-11-02

  • Bump version for publishing

[1.6.2] - 2022-11-02

  • Bump version for deprecation notice
  • Update packages
  • Switch to drone vs circleci

[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