Skip to content

Commit

Permalink
kup-echart: heatmap displays only the first theme color when not pass…
Browse files Browse the repository at this point in the history
…ed in a series.
  • Loading branch information
lucafoscili committed Feb 18, 2022
1 parent 78c1a73 commit 9a676b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ketchup/src/components/kup-echart/kup-echart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export class KupEchart {
? undefined
: colors.length > 0
? { inRange: { color: colors }, min: min, max: max }
: { inRange: { color: this.#themeColors }, min: min, max: max };
: { inRange: { color: this.#themeColors[0] }, min: min, max: max };
if (colorRange) {
opts.visualMap = {
...opts.visualMap,
Expand Down

0 comments on commit 9a676b2

Please sign in to comment.