chore(client): tweak charts

This commit is contained in:
syuilo
2023-01-06 20:00:06 +09:00
parent 3e7d8b5f17
commit e36e5df635
7 changed files with 14 additions and 29 deletions

View File

@@ -18,7 +18,6 @@
import { onMounted, onUnmounted, ref } from 'vue';
import { Chart } from 'chart.js';
import gradient from 'chartjs-plugin-gradient';
import { enUS } from 'date-fns/locale';
import tinycolor from 'tinycolor2';
import MkMiniChart from '@/components/MkMiniChart.vue';
import * as os from '@/os';
@@ -135,11 +134,6 @@ onMounted(async () => {
maxRotation: 0,
autoSkipPadding: 16,
},
adapters: {
date: {
locale: enUS,
},
},
min: getDate(chartLimit).getTime(),
},
y: {