Commit f9b13791 by Torkel Ödegaard

change(table panel): changed default transform mode

parent 002455da
......@@ -26,7 +26,7 @@ export class TablePanelCtrl {
var panelDefaults = {
targets: [{}],
transform: 'timeseries_to_rows',
transform: 'timeseries_to_columns',
pageSize: null,
showHeader: true,
styles: [
......
......@@ -112,7 +112,7 @@ export class TableRenderer {
// this hack adds header content to cell (not visible)
var widthHack = '';
if (addWidthHack) {
widthHack = '<div class="table-panel-width-hack">' + this.table.columns[columnIndex].text + '<div>';
widthHack = '<div class="table-panel-width-hack">' + this.table.columns[columnIndex].text + '</div>';
}
return '<td' + style + '>' + value + widthHack + '</td>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment