Skip to content

Commit

Permalink
热力图颜色区间
Browse files Browse the repository at this point in the history
  • Loading branch information
hanaTsuk1 committed Jan 5, 2025
1 parent 6755615 commit 7806b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widget/SingleCategoryHeatmap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function generatePieces(value: string, index: number, length: number, hour: numb
}
const option = computed<EChartsOption>(() => {
let partition = [1, 3, 5, 8]
let partition = [0.5, 1, 3, 5, 8]
const last = partition[partition.length - 1]
partition = [...partition, last]
const pieces = [
Expand Down

0 comments on commit 7806b7a

Please sign in to comment.