Skip to content

Commit

Permalink
docs: 调整色值 (#1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 authored Nov 21, 2020
1 parent 35cf651 commit 2375272
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/heatmap/basic/demo/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ fetch('https://gw.alipayobjects.com/os/antvdemo/assets/data/github-commit.json')
.then((data) => {
const heatmapPlot = new Heatmap(document.getElementById('container'), {
data,
padding: [150, 30, 150, 70],
height: 400,
autoFit: false,
xField: 'week',
yField: 'day',
colorField: 'commits',
Expand Down
1 change: 0 additions & 1 deletion examples/heatmap/basic/demo/shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ fetch('https://gw.alipayobjects.com/os/bmw-prod/68d3f380-089e-4683-ab9e-44932001
sizeRatio: 0.5,
color: ['#0d5fbb', '#7eadfc', '#fd8b6f', '#aa3523'],
label: {
offset: -2,
style: {
fill: '#fff',
shadowBlur: 2,
Expand Down
1 change: 0 additions & 1 deletion examples/heatmap/basic/demo/size.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ fetch('https://gw.alipayobjects.com/os/bmw-prod/68d3f380-089e-4683-ab9e-44932001
shape: 'square',
color: ['#dddddd', '#9ec8e0', '#5fa4cd', '#2e7ab6', '#114d90'],
label: {
offset: -2,
style: {
fill: '#fff',
shadowBlur: 2,
Expand Down
2 changes: 1 addition & 1 deletion examples/heatmap/density/demo/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fetch('https://gw.alipayobjects.com/os/antvdemo/assets/data/heatmap.json')
xField: 'g',
yField: 'l',
colorField: 'tmp',
color: '#c6e5ff-#9ec9ff-#7cabff-#5b8ff9-#3474db-#005cbe-#00419f-#00287e',
color: '#F51D27-#FA541C-#FF8C12-#FFC838-#FAFFA8-#80FF73-#12CCCC-#1890FF-#6E32C2',
legend: {
position: 'bottom',
},
Expand Down

0 comments on commit 2375272

Please sign in to comment.