Skip to content

Commit

Permalink
Chart.vue: tweak symbolSize
Browse files Browse the repository at this point in the history
  • Loading branch information
Integral-Tech committed Nov 14, 2023
1 parent e049b53 commit 75ca0b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Chart/Chart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function initHeatMap(): void {
coordinateSystem: "calendar",
data: heatmapData,
symbolSize: ([_, tick]) => {
return (12 * Math.log(tick)) / Math.log(maxTick);
return (20 * Math.log(tick)) / Math.log(maxTick);
},
itemStyle: {
color: isDark.value ? "#b3e19d" : "#409EFF",
Expand All @@ -239,7 +239,7 @@ function initHeatMap(): void {
})
.slice(0, 6),
symbolSize: ([_, tick]) => {
return (13 * Math.log(tick)) / Math.log(maxTick);
return (20 * Math.log(tick)) / Math.log(maxTick);
},
showEffectOn: "render",
rippleEffect: {
Expand Down

0 comments on commit 75ca0b8

Please sign in to comment.