Skip to content

Commit

Permalink
Merge pull request #196 from nzzdev/release-7.2.4
Browse files Browse the repository at this point in the history
Release 7.2.4
  • Loading branch information
dnlbln authored Feb 8, 2023
2 parents fe0932e + cdb8fe5 commit 7ea2cfe
Show file tree
Hide file tree
Showing 7 changed files with 148 additions and 143 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ language: node_js
node_js:
- '18'
install:
- npm set-script prepare ""
- npm pkg delete scripts.prepare
- npm install
before_script:
- DOCKER_IMAGE_NAME="q-table"
Expand Down
2 changes: 1 addition & 1 deletion dist/Q-Table.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -990,8 +990,9 @@ function getCategoricalLegend(data, colorColumnSettings) {
*/
function getCategoryColor(index, customColorMap) {
const colorScheme = digitWords[index];
const customColor = customColorMap.get(index);
let colorClass = '';
// The map starts at index 1 so we have to offset the index by 1.
const customColor = customColorMap.get(index + 1);
if (colorScheme) {
colorClass = `s-viz-color-${colorScheme}-5`;
}
Expand Down Expand Up @@ -15744,12 +15745,12 @@ var options = {
{
textColor: "dark",
color: "pink",
position: 0
position: 1
},
{
textColor: "dark",
color: "lightblue",
position: 1
position: 2
}
],
customCategoriesOrder: [
Expand Down
Loading

0 comments on commit 7ea2cfe

Please sign in to comment.