fix(overview): chart font size

This commit is contained in:
Zephyruso 2023-09-06 13:13:58 +08:00
parent 79d2c09781
commit af70669e7a

View File

@ -47,7 +47,7 @@ export enum ROUTES {
export const CHART_MAX_XAXIS = 10 export const CHART_MAX_XAXIS = 10
export const DEFAULT_CHART_OPTIONS: ApexOptions = { export const DEFAULT_CHART_OPTIONS: ApexOptions = {
title: { align: 'center', style: { color: 'gray', fontSize: '8px' } }, title: { align: 'center', style: { color: 'gray', fontSize: '16px' } },
chart: { chart: {
toolbar: { show: false }, toolbar: { show: false },
zoom: { enabled: false }, zoom: { enabled: false },
@ -56,7 +56,7 @@ export const DEFAULT_CHART_OPTIONS: ApexOptions = {
noData: { text: 'Loading...' }, noData: { text: 'Loading...' },
legend: { legend: {
showForSingleSeries: true, showForSingleSeries: true,
fontSize: '8px', fontSize: '16px',
labels: { colors: 'gray' }, labels: { colors: 'gray' },
itemMargin: { horizontal: 32 }, itemMargin: { horizontal: 32 },
}, },
@ -71,7 +71,7 @@ export const DEFAULT_CHART_OPTIONS: ApexOptions = {
}, },
yaxis: { yaxis: {
labels: { labels: {
style: { colors: 'gray', fontSize: '8px' }, style: { colors: 'gray', fontSize: '13px' },
formatter: (val) => byteSize(val).toString(), formatter: (val) => byteSize(val).toString(),
}, },
}, },