mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-30 23:35:37 +08:00
fix(overview): chart font size
This commit is contained in:
parent
79d2c09781
commit
af70669e7a
@ -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(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user