diff --git a/docs/sources/reference/table_panel.md b/docs/sources/reference/table_panel.md
index 65437f85bd7..a857be38357 100644
--- a/docs/sources/reference/table_panel.md
+++ b/docs/sources/reference/table_panel.md
@@ -17,7 +17,7 @@ To view table panels in action and test different configurations with sample dat
The table panel has many ways to manipulate your data for optimal presentation.
-
+
1. `Data`: Control how your query is transformed into a table.
2. `Table Display`: Table display options.
@@ -33,19 +33,19 @@ you want in the table. Only applicable for some transforms.
### Time series to rows
-
+
In the most simple mode you can turn time series to rows. This means you get a `Time`, `Metric` and a `Value` column. Where `Metric` is the name of the time series.
### Time series to columns
-
+
This transform allows you to take multiple time series and group them by time. Which will result in the primary column being `Time` and a column for each time series.
### Time series aggregations
-
+
This table transformation will lay out your table into rows by metric, allowing columns of `Avg`, `Min`, `Max`, `Total`, `Current` and `Count`. More than one column can be added.
### Annotations
diff --git a/public/app/features/dashboard/dashboardSrv.js b/public/app/features/dashboard/dashboardSrv.js
index 2f64fec9be1..be404dd1ce1 100644
--- a/public/app/features/dashboard/dashboardSrv.js
+++ b/public/app/features/dashboard/dashboardSrv.js
@@ -208,7 +208,7 @@ function (angular, $, _, moment) {
var i, j, k;
var oldVersion = this.schemaVersion;
var panelUpgrades = [];
- this.schemaVersion = 9;
+ this.schemaVersion = 10;
if (oldVersion === this.schemaVersion) {
return;
@@ -381,6 +381,22 @@ function (angular, $, _, moment) {
});
}
+ // schema version 10 changes
+ if (oldVersion < 10) {
+ // move aliasYAxis changes
+ panelUpgrades.push(function(panel) {
+ if (panel.type !== 'table') { return; }
+
+ _.each(panel.styles, function(style) {
+ if (style.thresholds && style.thresholds.length >= 3) {
+ var k = style.thresholds;
+ k.shift();
+ style.thresholds = k;
+ }
+ });
+ });
+ }
+
if (panelUpgrades.length === 0) {
return;
}
diff --git a/public/app/plugins/panel/table/editor.html b/public/app/plugins/panel/table/editor.html
index 010c30326d9..c9e0bad5d9a 100644
--- a/public/app/plugins/panel/table/editor.html
+++ b/public/app/plugins/panel/table/editor.html
@@ -122,7 +122,7 @@
ThresholdsComma seperated values