Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ export const HeatMapChartBasic: React.FunctionComponent<{}> = (): JSXElement =>
{
x: xPoint[1],
y: yPoint[0],
value: 250,
rectText: 250,
ratio: [250, 2043],
value: 310,
rectText: 310,
ratio: [310, 2043],
descriptionMessage: 'a sudden rise of 150 units in Ohio today',
},
{
x: xPoint[2],
y: yPoint[0],
value: 235,
rectText: 235,
ratio: [235, 2043],
value: 320,
rectText: 320,
ratio: [320, 2043],
descriptionMessage: 'air quality seems to have decreased by only 15 units from yesterday',
},
{
Expand Down Expand Up @@ -334,10 +334,10 @@ export const HeatMapChartBasic: React.FunctionComponent<{}> = (): JSXElement =>
height={height}
domainValuesForColorScale={[0, 200, 400, 600]}
rangeValuesForColorScale={[
getColorFromToken(DataVizPalette.highSuccess),
getColorFromToken(DataVizPalette.success),
getColorFromToken(DataVizPalette.error),
getColorFromToken(DataVizPalette.highError),
getColorFromToken(DataVizPalette.color5),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try the combination 3, 12, 10, 8, 7.

getColorFromToken(DataVizPalette.color6),
getColorFromToken(DataVizPalette.color3),
getColorFromToken(DataVizPalette.color10),
]}
reflowProps={{ mode: 'min-width' }}
/>
Expand Down