Skip to content

Commit

Permalink
style: change ckb hodl wave charts color order
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Zhang <mingchang555@hotmail.com>
  • Loading branch information
zmcNotafraid committed Jul 25, 2024
1 parent ca3a940 commit 1e7792d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/pages/StatisticsChart/activities/CkbHodlWave.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const useOption = (
containLabel: true,
}
const parseTooltip = useTooltip()
const colors = [...chartColor.moreColors].slice(0, 8).reverse()
const colors = [...chartColor.moreColors].slice(0, 9)
return {
color: colors,
tooltip: !isThumbnail
Expand Down Expand Up @@ -214,9 +214,6 @@ const useOption = (
areaStyle: {
color: colors[0],
},
lineStyle: {
width: 4,
},
},
{
name: t('statistic.day_to_one_week'),
Expand Down Expand Up @@ -302,7 +299,6 @@ const useOption = (
symbol: isThumbnail ? 'none' : 'circle',
symbolSize: 3,
lineStyle: {
width: 4,
color: colors[8],
},
},
Expand Down

0 comments on commit 1e7792d

Please sign in to comment.