Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(dataviz): update charts to 0.54.2, update heatmap specs & demo #2678

Merged
merged 9 commits into from
Jan 6, 2022
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
],
"dependencies": {
"@babel/core": "^7.15.8",
"@carbon/charts-react": "0.50.8",
"@carbon/charts-react": "0.54.0",
"@carbon/elements": "^10.46.0",
"@carbon/icons": "^10.42.0",
"@carbon/icons-react": "^10.42.0",
Expand Down
1 change: 0 additions & 1 deletion src/pages/data-visualization/chart-types/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ appropriate chart type.
<OverviewCard
title="Heat map"
href="/data-visualization/complex-charts#heat-maps"
tag="Design only"
>

![GATSBY_EMPTY_ALT](images/heatmap.svg)
Expand Down
8 changes: 1 addition & 7 deletions src/pages/data-visualization/complex-charts/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,12 @@ or all negative. Sequential heat maps can leverage the full range of the palette
(from 10–100) to maximize contrast. Please note that the 3:1 minimum contrast
requirement does not apply to heat maps.

<Row>
<Column colLg={12} colMd={8} colSm={4} >

![Sequential heat map](images/04_adv_heatmap_928.png)
<ChartDemoGroup demoGroup={getDemoGroupByTitle('heatmap')} light={true} />

<Caption>
When cells get extremely small, a white border can hinder the intended effect.
</Caption>

</Column>
</Row>

#### Heat map behaviors

Axis ticks and legend can be used to leverage the chart potential giving the
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1089,19 +1089,19 @@
"@babel/helper-validator-identifier" "^7.15.7"
to-fast-properties "^2.0.0"

"@carbon/charts-react@0.50.8":
version "0.50.8"
resolved "https://registry.yarnpkg.com/@carbon/charts-react/-/charts-react-0.50.8.tgz#d69f22b87f6ae203e5a78e93a203e4b27864479a"
integrity sha512-Q+5/ZP3LmZ9Q723a9aC3/8OiwN15mBXdp/xMApJy59ljnCQutH9v4BwdsmxhM0CIX94rb+lovEW7nsmtQPvuoQ==
"@carbon/charts-react@0.54.0":
version "0.54.0"
resolved "https://registry.yarnpkg.com/@carbon/charts-react/-/charts-react-0.54.0.tgz#7acc808f07a0508efa662e2ef1bf02beb5630c7f"
integrity sha512-5Lp1dv5wvXLzoU1IK210n/KtHmzVGkNwLiH//pr00GeoVIW9W7ArNvDOQ30kNqv98aElvsG/o8S+ul0LxQxaoA==
dependencies:
"@carbon/charts" "^0.50.8"
"@carbon/charts" "^0.54.0"
"@carbon/icons-react" "^10.32.0"
"@carbon/telemetry" "0.0.0-alpha.6"

"@carbon/charts@^0.50.8":
version "0.50.10"
resolved "https://registry.yarnpkg.com/@carbon/charts/-/charts-0.50.10.tgz#ec5291e1f65dbd7dd6521f50f117f4368909a49e"
integrity sha512-FvCej1XRWYTQqxWXGfX4de7xAs3YCp9YPJ2nxYI85MD4mgFSFVCXaqPpjwK2vFKBMNI/B9e1LigrSCY6TlY8tg==
"@carbon/charts@^0.54.0":
version "0.54.0"
resolved "https://registry.yarnpkg.com/@carbon/charts/-/charts-0.54.0.tgz#f213062a934c2a7ec9fc4f8a0a597d94fe1a41a1"
integrity sha512-vkYqjgUfgJAbioEe1hL1+XxXCoSzJkjl6cGzbL5yOyNoUP+6ngd7V3qVRhRiUskPm5/6bsH8ngteRWaROIgM5A==
dependencies:
"@carbon/colors" "10.29.0"
"@carbon/telemetry" "0.0.0-alpha.6"
Expand Down