Skip to content

Commit

Permalink
automated release 1.3.8 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
CircleCI Automation committed Jul 23, 2019
1 parent 58956de commit 4f34110
Show file tree
Hide file tree
Showing 19 changed files with 220 additions and 0 deletions.
Binary file added artifacts/grafana-piechart-panel-1.3.8.tar.gz
Binary file not shown.
Binary file added artifacts/grafana-piechart-panel-1.3.8.zip
Binary file not shown.
21 changes: 21 additions & 0 deletions dist/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Grafana

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
40 changes: 40 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[![CircleCI](https://circleci.com/gh/grafana/piechart-panel.svg?style=svg)](https://circleci.com/gh/grafana/piechart-panel)
[![David Dependancy Status](https://david-dm.org/grafana/piechart-panel.svg)](https://david-dm.org/grafana/piechart-panel)
[![David Dev Dependency Status](https://david-dm.org/grafana/piechart-panel/dev-status.svg)](https://david-dm.org/grafana/piechart-panel/?type=dev)

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](http://docs.grafana.org/v3.0/plugins/installation/).

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 method

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
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:

```ini
[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.
1 change: 1 addition & 0 deletions dist/dark.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions dist/editor.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<div class="editor-row">
<div class="section gf-form-group">
<h5 class="section-heading">General</h5>
<div class="gf-form">
<span class="gf-form-label width-8">Type</span>
<div class="gf-form-select-wrapper max-width-10">
<select class="gf-form-input" ng-model="ctrl.panel.pieType" ng-options="t for t in ['pie', 'donut']" ng-change="ctrl.render()"></select>
</div>
</div>
<div class="gf-form">
<span class="gf-form-label width-8">Unit</span>
<div class="gf-form-dropdown-typeahead width-10" ng-model="ctrl.panel.format" dropdown-typeahead="ctrl.unitFormats" dropdown-typeahead-on-select="ctrl.setUnitFormat($subItem)">
</div>
</div>
<div class="gf-form">
<span class="gf-form-label width-8">Value</span>
<div class="gf-form-select-wrapper max-width-10">
<select class="gf-form-input" ng-model="ctrl.panel.valueName" ng-options="v for v in ['min','max','avg', 'current', 'total']"
ng-change="ctrl.render()"></select>
</div>
</div>
<div class="gf-form">
<span class="gf-form-label width-8">Divider width</span>
<input type="text" class="gf-form-input max-width-10" ng-model="ctrl.panel.strokeWidth" ng-change="ctrl.render()">
</div>
</div>

<div class="section gf-form-group">
<h5 class="section-heading">Legend</h5>
<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>
<div class="gf-form">
<span class="gf-form-label width-11">Position</span>
<div class="gf-form-select-wrapper width-9">
<select class="gf-form-input" ng-model="ctrl.panel.legendType" ng-options="t for t in ['On graph', 'Under graph', 'Right side']"
ng-change="ctrl.onLegendTypeChanged()"></select>
</div>
</div>
<div ng-if="ctrl.panel.legendType == 'Right side'" class="gf-form">
<label class="gf-form-label width-11">Width</label>
<input type="number" class="gf-form-input max-width-5" placeholder="150" bs-tooltip="'Set a min-width for the legend side table/block'"
data-placement="right" ng-model="ctrl.panel.legend.sideWidth" ng-change="ctrl.render()" ng-model-onblur>
</div>
<div ng-if="ctrl.panel.legendType == 'Under graph'" class="gf-form">
<span class="gf-form-label width-11">Legend Breakpoint</span>
<div class="gf-form-select-wrapper width-9">
<select class="gf-form-input" ng-model="ctrl.panel.breakPoint" ng-options="t for t in ['25%', '50%', '75%', '100%']"
ng-change="ctrl.render()"></select>
</div>
</div>
<div class="gf-form" ng-if="ctrl.panel.legendType === 'On graph'">
<span class="gf-form-label width-11">Font size</span>
<div class="gf-form-select-wrapper width-9">
<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%']"
ng-change="ctrl.render()"></select>
</div>
</div>
<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>
<div class="gf-form" ng-show="ctrl.panel.legend.values">
<span class="gf-form-label width-11">Values Header</span>
<input type="text" class="gf-form-input width-9" ng-model="ctrl.panel.legend.header" ng-change="ctrl.render()" ng-model-onblur
placeholder="override">
</div>
<div class="gf-form" ng-show="ctrl.panel.legend.values">
<span class="gf-form-label width-11">Values Decimals</span>
<input type="number" class="gf-form-input width-9" ng-model="ctrl.panel.decimals" ng-change="ctrl.render()" ng-model-onblur
placeholder="auto">
</div>
<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>
<div class="gf-form" ng-show="ctrl.panel.legend.percentage">
<span class="gf-form-label width-11">Percentage Decimals</span>
<input type="number" class="gf-form-input width-9" ng-model="ctrl.panel.legend.percentageDecimals" ng-change="ctrl.render()" ng-model-onblur placeholder="0">
</div>
</div>

<div class="section gf-form-group">
<h5 class="section-heading">Combine</h5>
<div class="gf-form">
<span class="gf-form-label width-8">Threshold:</span>
<input type="text" class="gf-form-input max-width-10" ng-model="ctrl.panel.combine.threshold" ng-change="ctrl.render()">
<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
combine all slices 3% or less into one slice).</info-popover>
</div>
<div class="gf-form">
<span class="gf-form-label width-8">Label</span>
<input type="text" class="gf-form-input max-width-10" ng-model="ctrl.panel.combine.label" ng-change="ctrl.render()">
<info-popover mode="right-absolute">Label text for the combined slice.</info-popover>
</div>
</div>
</div>
Binary file added dist/img/piechart-donut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/piechart-legend-on-graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/piechart-legend-rhs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/piechart-legend-under.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/piechart-options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/piechart_logo_large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/piechart_logo_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/module.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="piechart-panel" ng-class="{'piechart-panel--legend-right': ctrl.panel.legendType == 'Right side'}">
<div class="piechart-panel__chart"></div>
<div class="piechart-legend" ng-if="ctrl.panel.legend.show" piechart-legend></div>
</div>
<div class="clearfix"></div>
22 changes: 22 additions & 0 deletions dist/module.js

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions dist/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"type": "panel",
"name": "Pie Chart",
"id": "grafana-piechart-panel",

"hiddenQueries": true,

"info": {
"description": "Pie chart panel for grafana",
"author": {
"name": "Grafana Labs",
"url": "http://grafana.com"
},
"keywords": ["piechart", "panel"],
"logos": {
"small": "img/piechart_logo_small.png",
"large": "img/piechart_logo_large.png"
},
"links": [
{"name": "Project site", "url": "https://github.com/grafana/piechart-panel"},
{"name": "Blog Post", "url": "https://blog.raintank.io/friends-dont-let-friends-abuse-pie-charts/"},
{"name": "MIT License", "url": "https://github.com/grafana/piechart-panel/blob/master/LICENSE"}
],
"screenshots": [
{"name": "Donut!", "path": "img/piechart-donut.png"},
{"name": "Legend on the graph", "path": "img/piechart-legend-on-graph.png"},
{"name": "Legend to the right", "path": "img/piechart-legend-rhs.png"},
{"name": "Legend underneath", "path": "img/piechart-legend-under.png"},
{"name": "Piechart options", "path": "img/piechart-options.png"}
],
"version": "1.3.8",
"updated": "2019-07-23"
},

"dependencies": {
"grafanaVersion": "4.6",
"plugins": [ ]
}
}
1 change: 1 addition & 0 deletions dist/styles/dark.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/styles/light.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4f34110

Please sign in to comment.