Skip to content

Commit

Permalink
Fix to column properties wrong column number render
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Jan 18, 2016
1 parent 1bacfc2 commit 13a3290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LightPivotTable",
"author": "ZitRo",
"version": "1.6.3",
"version": "1.6.4",
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
"main": "test/testServer.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions source/js/PivotView.js
Original file line number Diff line number Diff line change
Expand Up @@ -1390,8 +1390,8 @@ PivotView.prototype.renderRawData = function (data) {
+ "," + Math.round((colorScale.to.b - colorScale.from.b)*ratio + colorScale.from.b)
+ ");" + (colorScale.invert ? "color: white;" : "");
}
if (columnProps[x - info.leftHeaderColumnsNumber].style) {
cellStyle += columnProps[x - info.leftHeaderColumnsNumber].style;
if (columnProps[x].style) {
cellStyle += columnProps[x].style;
}
if (rawData[y][x].style) {
cellStyle += rawData[y][x].style;
Expand Down

0 comments on commit 13a3290

Please sign in to comment.