chore(client): tweak charts
This commit is contained in:
parent
3e7d8b5f17
commit
e36e5df635
7 changed files with 14 additions and 29 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue