Skip to content

Commit

Permalink
change(table panel): changed default transform mode
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelo committed Dec 4, 2015
1 parent 002455d commit f9b1379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/app/panels/table/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class TablePanelCtrl {

var panelDefaults = {
targets: [{}],
transform: 'timeseries_to_rows',
transform: 'timeseries_to_columns',
pageSize: null,
showHeader: true,
styles: [
Expand Down
2 changes: 1 addition & 1 deletion public/app/panels/table/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>';
Expand Down

0 comments on commit f9b1379

Please sign in to comment.