fix: #303 of cycle eff tooltip. Change background chart grid lines.

This commit is contained in:
Cindy Chang
2024-06-19 11:00:03 +08:00
parent b10e135fee
commit 96ee2eb7fb
4 changed files with 24 additions and 10 deletions

View File

@@ -154,7 +154,7 @@ import { simpleTimeLabel, followTimeLabel, getDateLabelByMinMaxDate,
getYTicksByIndex,
} from '@/module/timeLabel.js';
import FreqChart from './FreqChart.vue';
import { PRIME_VUE_TICKS_LIMIT } from '../../../constants/constants.js';
import { PRIME_VUE_TICKS_LIMIT, GRID_COLOR } from '../../../constants/constants.js';
const primeVueTicksLimit = PRIME_VUE_TICKS_LIMIT;
const knownScaleLineChartOptions = {
@@ -513,7 +513,9 @@ export default {
border: {
color: '#64748b',
},
grid: {
display: false,
},
},
y: {
beginAtZero: true, // scale 包含 0