Skip to content

Commit

Permalink
fix(vx-demo): fix Threshold scale domain in Legends demo
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Jan 25, 2020
1 parent 5228a09 commit a745927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vx-demo/src/components/tiles/Legends.tsx
Expand Up @@ -37,7 +37,7 @@ const linearScale = scaleLinear<string>({
});

const thresholdScale = scaleThreshold<number, string>({
domain: [0.01, 0.02, 0.04, 0.06, 0.08, 0.1],
domain: [0.01, 0.02, 0.04, 0.06, 0.08],
range: ['#f2f0f7', '#dadaeb', '#bcbddc', '#9e9ac8', '#756bb1', '#54278f'],
});

Expand Down
2 changes: 1 addition & 1 deletion packages/vx-demo/src/pages/Legends.tsx
Expand Up @@ -54,7 +54,7 @@ const linearScale = scaleLinear<string>({
});
const thresholdScale = scaleThreshold<number, string>({
domain: [0.01, 0.02, 0.04, 0.06, 0.08, 0.1],
domain: [0.01, 0.02, 0.04, 0.06, 0.08],
range: ['#f2f0f7', '#dadaeb', '#bcbddc', '#9e9ac8', '#756bb1', '#54278f'],
});
Expand Down

0 comments on commit a745927

Please sign in to comment.