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

@@ -10,7 +10,6 @@
<script lang="ts" setup>
import { markRaw, version as vueVersion, onMounted, onBeforeUnmount, nextTick } from 'vue';
import { Chart } from 'chart.js';
import { enUS } from 'date-fns/locale';
import tinycolor from 'tinycolor2';
import gradient from 'chartjs-plugin-gradient';
import * as os from '@/os';
@@ -114,11 +113,6 @@ async function renderChart() {
maxRotation: 0,
autoSkipPadding: 8,
},
adapters: {
date: {
locale: enUS,
},
},
},
y: {
position: 'left',