Skip to content

Commit ec46c48

Browse files
author
CircleCI Automation
committed
automated release 1.3.9 [skip ci]
1 parent 2279c79 commit ec46c48

19 files changed

+231
-0
lines changed
623 KB
Binary file not shown.
633 KB
Binary file not shown.

dist/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Grafana
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

dist/README.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[![CircleCI](https://circleci.com/gh/grafana/piechart-panel.svg?style=svg)](https://circleci.com/gh/grafana/piechart-panel)
2+
[![David Dependancy Status](https://david-dm.org/grafana/piechart-panel.svg)](https://david-dm.org/grafana/piechart-panel)
3+
[![David Dev Dependency Status](https://david-dm.org/grafana/piechart-panel/dev-status.svg)](https://david-dm.org/grafana/piechart-panel/?type=dev)
4+
5+
Use the new grafana-cli tool to install piechart-panel from the commandline:
6+
7+
```
8+
grafana-cli plugins install grafana-piechart-panel
9+
```
10+
11+
The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins if you installed the grafana package.
12+
13+
More instructions on the cli tool can be found [here](http://docs.grafana.org/v3.0/plugins/installation/).
14+
15+
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
16+
17+
## Alternative installation methods
18+
19+
### Download latest zip
20+
21+
```BASH
22+
wget -nv https://grafana.com/api/plugins/grafana-piechart-panel/versions/latest/download -O /tmp/grafana-piechart-panel.zip
23+
```
24+
25+
Extract and move into place
26+
```BASH
27+
unzip -q /tmp/grafana-piechart-panel.zip -d /tmp
28+
mv /tmp/grafana-piechart-panel-* /var/lib/grafana/plugins/grafana-piechart-panel
29+
sudo service grafana-server restart
30+
```
31+
32+
### Git Clone
33+
It is also possible to clone this repo directly into your plugins directory.
34+
35+
Afterwards restart grafana-server and the plugin should be automatically detected and used.
36+
37+
```
38+
git clone https://github.com/grafana/piechart-panel.git --branch release-1.3.8
39+
sudo service grafana-server restart
40+
```
41+
42+
### Clone into a directory of your choice
43+
44+
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:
45+
46+
```ini
47+
[plugin.piechart]
48+
path = /home/your/clone/dir/piechart-panel
49+
```
50+
51+
Note that if you clone it into the grafana plugins directory you do not need to add the above config option. That is only
52+
if you want to place the plugin in a directory outside the standard plugins directory. Be aware that grafana-server
53+
needs read access to the directory.

dist/dark.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/editor.html

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<div class="editor-row">
2+
<div class="section gf-form-group">
3+
<h5 class="section-heading">General</h5>
4+
<div class="gf-form">
5+
<span class="gf-form-label width-8">Type</span>
6+
<div class="gf-form-select-wrapper max-width-10">
7+
<select class="gf-form-input" ng-model="ctrl.panel.pieType" ng-options="t for t in ['pie', 'donut']" ng-change="ctrl.render()"></select>
8+
</div>
9+
</div>
10+
<div class="gf-form">
11+
<span class="gf-form-label width-8">Unit</span>
12+
<div class="gf-form-dropdown-typeahead width-10" ng-model="ctrl.panel.format" dropdown-typeahead="ctrl.unitFormats" dropdown-typeahead-on-select="ctrl.setUnitFormat($subItem)">
13+
</div>
14+
</div>
15+
<div class="gf-form">
16+
<span class="gf-form-label width-8">Value</span>
17+
<div class="gf-form-select-wrapper max-width-10">
18+
<select class="gf-form-input" ng-model="ctrl.panel.valueName" ng-options="v for v in ['min','max','avg', 'current', 'total']"
19+
ng-change="ctrl.render()"></select>
20+
</div>
21+
</div>
22+
<div class="gf-form">
23+
<span class="gf-form-label width-8">Divider width</span>
24+
<input type="text" class="gf-form-input max-width-10" ng-model="ctrl.panel.strokeWidth" ng-change="ctrl.render()">
25+
</div>
26+
</div>
27+
28+
<div class="section gf-form-group">
29+
<h5 class="section-heading">Legend</h5>
30+
<gf-form-switch class="gf-form" label="Show Legend" label-class="width-11" checked="ctrl.panel.legend.show" on-change="ctrl.refresh()"></gf-form-switch>
31+
<div class="gf-form">
32+
<span class="gf-form-label width-11">Position</span>
33+
<div class="gf-form-select-wrapper width-9">
34+
<select class="gf-form-input" ng-model="ctrl.panel.legendType" ng-options="t for t in ['On graph', 'Under graph', 'Right side']"
35+
ng-change="ctrl.onLegendTypeChanged()"></select>
36+
</div>
37+
</div>
38+
<div ng-if="ctrl.panel.legendType == 'Right side'" class="gf-form">
39+
<label class="gf-form-label width-11">Width</label>
40+
<input type="number" class="gf-form-input max-width-5" placeholder="150" bs-tooltip="'Set a min-width for the legend side table/block'"
41+
data-placement="right" ng-model="ctrl.panel.legend.sideWidth" ng-change="ctrl.render()" ng-model-onblur>
42+
</div>
43+
<div ng-if="ctrl.panel.legendType == 'Under graph'" class="gf-form">
44+
<span class="gf-form-label width-11">Legend Breakpoint</span>
45+
<div class="gf-form-select-wrapper width-9">
46+
<select class="gf-form-input" ng-model="ctrl.panel.breakPoint" ng-options="t for t in ['25%', '50%', '75%', '100%']"
47+
ng-change="ctrl.render()"></select>
48+
</div>
49+
</div>
50+
<div class="gf-form" ng-if="ctrl.panel.legendType === 'On graph'">
51+
<span class="gf-form-label width-11">Font size</span>
52+
<div class="gf-form-select-wrapper width-9">
53+
<select class="gf-form-input" ng-model="ctrl.panel.fontSize" ng-options="s for s in ['50%', '60%', '70%', '80%', '100%', '110%', '120%', '150%', '175%']"
54+
ng-change="ctrl.render()"></select>
55+
</div>
56+
</div>
57+
<gf-form-switch class="gf-form" label="Legend Values" label-class="width-11" checked="ctrl.panel.legend.values" on-change="ctrl.refresh()"></gf-form-switch>
58+
<div class="gf-form" ng-show="ctrl.panel.legend.values">
59+
<span class="gf-form-label width-11">Values Header</span>
60+
<input type="text" class="gf-form-input width-9" ng-model="ctrl.panel.legend.header" ng-change="ctrl.render()" ng-model-onblur
61+
placeholder="override">
62+
</div>
63+
<div class="gf-form" ng-show="ctrl.panel.legend.values">
64+
<span class="gf-form-label width-11">Values Decimals</span>
65+
<input type="number" class="gf-form-input width-9" ng-model="ctrl.panel.decimals" ng-change="ctrl.render()" ng-model-onblur
66+
placeholder="auto">
67+
</div>
68+
<gf-form-switch class="gf-form" label="Show Percentage" label-class="width-11" checked="ctrl.panel.legend.percentage" on-change="ctrl.refresh()"></gf-form-switch>
69+
<div class="gf-form" ng-show="ctrl.panel.legend.percentage">
70+
<span class="gf-form-label width-11">Percentage Decimals</span>
71+
<input type="number" class="gf-form-input width-9" ng-model="ctrl.panel.legend.percentageDecimals" ng-change="ctrl.render()" ng-model-onblur placeholder="0">
72+
</div>
73+
</div>
74+
75+
<div class="section gf-form-group">
76+
<h5 class="section-heading">Combine</h5>
77+
<div class="gf-form">
78+
<span class="gf-form-label width-8">Threshold:</span>
79+
<input type="text" class="gf-form-input max-width-10" ng-model="ctrl.panel.combine.threshold" ng-change="ctrl.render()">
80+
<info-popover mode="right-absolute">Combines all slices that are smaller than the specified percentage (ranging from 0 to 1) i.e. a value of '0.03' will
81+
combine all slices 3% or less into one slice).</info-popover>
82+
</div>
83+
<div class="gf-form">
84+
<span class="gf-form-label width-8">Label</span>
85+
<input type="text" class="gf-form-input max-width-10" ng-model="ctrl.panel.combine.label" ng-change="ctrl.render()">
86+
<info-popover mode="right-absolute">Label text for the combined slice.</info-popover>
87+
</div>
88+
</div>
89+
</div>

dist/img/piechart-donut.png

37.3 KB
Loading

dist/img/piechart-legend-on-graph.png

37.1 KB
Loading

dist/img/piechart-legend-rhs.png

40.5 KB
Loading

dist/img/piechart-legend-under.png

33.5 KB
Loading

dist/img/piechart-options.png

47.3 KB
Loading

dist/img/piechart_logo_large.png

3.64 KB
Loading

dist/img/piechart_logo_small.png

2.57 KB
Loading

dist/light.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="piechart-panel" ng-class="{'piechart-panel--legend-right': ctrl.panel.legendType == 'Right side'}">
2+
<div class="piechart-panel__chart"></div>
3+
<div class="piechart-legend" ng-if="ctrl.panel.legend.show" piechart-legend></div>
4+
</div>
5+
<div class="clearfix"></div>

dist/module.js

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugin.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"type": "panel",
3+
"name": "Pie Chart",
4+
"id": "grafana-piechart-panel",
5+
6+
"info": {
7+
"description": "Pie chart panel for grafana",
8+
"author": {
9+
"name": "Grafana Labs",
10+
"url": "http://grafana.com"
11+
},
12+
"keywords": ["piechart", "panel"],
13+
"logos": {
14+
"small": "img/piechart_logo_small.png",
15+
"large": "img/piechart_logo_large.png"
16+
},
17+
"links": [
18+
{"name": "Project site", "url": "https://github.com/grafana/piechart-panel"},
19+
{"name": "Blog Post", "url": "https://blog.raintank.io/friends-dont-let-friends-abuse-pie-charts/"},
20+
{"name": "MIT License", "url": "https://github.com/grafana/piechart-panel/blob/master/LICENSE"}
21+
],
22+
"screenshots": [
23+
{"name": "Donut!", "path": "img/piechart-donut.png"},
24+
{"name": "Legend on the graph", "path": "img/piechart-legend-on-graph.png"},
25+
{"name": "Legend to the right", "path": "img/piechart-legend-rhs.png"},
26+
{"name": "Legend underneath", "path": "img/piechart-legend-under.png"},
27+
{"name": "Piechart options", "path": "img/piechart-options.png"}
28+
],
29+
"version": "1.3.9",
30+
"updated": "2019-09-05"
31+
},
32+
33+
"dependencies": {
34+
"grafanaVersion": "4.6",
35+
"plugins": [ ]
36+
}
37+
}

dist/styles/dark.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/styles/light.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)