Skip to content

Commit

Permalink
Fixed row group data being used to render groups for columns grouping (
Browse files Browse the repository at this point in the history
  • Loading branch information
OssamaRafique authored Nov 16, 2023
1 parent 123fd6c commit b8ccac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "epiviz.heatmap.gl",
"version": "0.0.20",
"version": "0.0.21",
"repository": "https://github.com/jkanche/epiviz.heatmap.gl",
"homepage": "https://github.com/jkanche/epiviz.heatmap.gl",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/BaseGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ class BaseGL {
const maxXRange = this.xAxisRange[1] - this.xAxisRange[0];
const minX = this.xAxisRange[0];

this.groupingRowData.forEach((group, idx) => {
this.columnGroupingData.forEach((group, idx) => {
const normalizedStart = (group.startIndex / totalData) * maxXRange + minX;
const normalizedEnd =
((group.endIndex + 1) / totalData) * maxXRange + minX;
Expand Down

0 comments on commit b8ccac7

Please sign in to comment.