fix:stat 字体自适应

This commit is contained in:
zhangyu
2022-03-22 09:30:44 +08:00
parent 01e1c5dcc7
commit e2618c87b2
2 changed files with 6 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ import { getMetricTypeValue } from '@/components/common/js/tools'
import chartDataFormat from '@/components/charts/chartDataFormat'
import { randomcolor } from '@/components/common/js/radomcolor/randomcolor'
import { initColor } from '@/components/chart/chart/tools'
import fontWidth from '@/components/chart/chart/options/fontWidth'
export default {
name: 'chart-stat',

View File

@@ -0,0 +1,5 @@
const fontWidth = {
0: 10,
A: 7.5
}
export default fontWidth