Skip to content

Commit

Permalink
add ngInject, update changelog and version (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
briangann authored Jul 23, 2019
1 parent 1d1dd1d commit 58956de
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 39 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [1.3.8] - 2019-07-22

- hotfix for older versions of grafana

## [1.3.7] - 2019-07-22

- conversion to typescript
Expand All @@ -8,3 +12,37 @@
- use toolkit for building
- fix for issue #154

## 1.3.3

* Fix legend sorting: [#145](https://github.com/grafana/piechart-panel/issues/145)

## 1.3.2

* Automatically set legend width if Internet Explorer 11 and positioned to the right: [#148](https://github.com/grafana/piechart-panel/issues/148)

## 1.3.1

* Fix scrolling and legend issues in Internet Explorer 11: [#143](https://github.com/grafana/piechart-panel/issues/143)

## 1.3.0

* Fixes for legend and piechart rendering and sorting: [#138](https://github.com/grafana/piechart-panel/pull/138), [#136](https://github.com/grafana/piechart-panel/pull/136)
* Fix for decimal field for percentages [#108](https://github.com/grafana/piechart-panel/pull/108)

## 1.1.5

* Fix for color picker in legend
* Fix for - [Values in legend are displayed raw, not with the correct unit](https://github.com/grafana/piechart-panel/issues/51). Thanks, [@conet](https://github.com/conet)
* Fix for - [Legend overlaps with graphs](https://github.com/grafana/piechart-panel/issues/34). Thanks, [@smalik03](https://github.com/smalik03)

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

## 1.0.2

* Add piechart piece divider setting
* Remove Unused code
* Adds fontsize option for labels on graph
* Only show the displaied piechart value in legend
* Add possibility to pick stat to use for piechart
38 changes: 0 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,41 +38,3 @@ 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.

# Changelog

## 1.3.3

* Fix legend sorting: [#145](https://github.com/grafana/piechart-panel/issues/145)

## 1.3.2

* Automatically set legend width if Internet Explorer 11 and positioned to the right: [#148](https://github.com/grafana/piechart-panel/issues/148)

## 1.3.1

* Fix scrolling and legend issues in Internet Explorer 11: [#143](https://github.com/grafana/piechart-panel/issues/143)

## 1.3.0

* Fixes for legend and piechart rendering and sorting: [#138](https://github.com/grafana/piechart-panel/pull/138), [#136](https://github.com/grafana/piechart-panel/pull/136)
* Fix for decimal field for percentages [#108](https://github.com/grafana/piechart-panel/pull/108)

## 1.1.5

* Fix for color picker in legend
* Fix for - [Values in legend are displayed raw, not with the correct unit](https://github.com/grafana/piechart-panel/issues/51). Thanks, [@conet](https://github.com/conet)
* Fix for - [Legend overlaps with graphs](https://github.com/grafana/piechart-panel/issues/34). Thanks, [@smalik03](https://github.com/smalik03)

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

## 1.0.2

* Add piechart piece divider setting
* Remove Unused code
* Adds fontsize option for labels on graph
* Only show the displaied piechart value in legend
* Add possibility to pick stat to use for piechart

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "piechart-panel",
"version": "1.3.7",
"version": "1.3.8",
"description": "Pie chart panel for Grafana",
"scripts": {
"build": "grafana-toolkit plugin:build",
Expand Down
1 change: 1 addition & 0 deletions src/piechart_ctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class PieChartCtrl extends MetricsPanelCtrl {
series: any;
data: any;

/** @ngInject */
constructor($scope: any, $injector: any, $rootScope: any) {
super($scope, $injector);
this.$rootScope = $rootScope;
Expand Down

0 comments on commit 58956de

Please sign in to comment.