export const color = [ '#2877FF', '#FB8D12', '#EF3A41', '#06C679', '#F6C12B', '#28B1EB', '#7643CA', '#E03FBD', '#9ACC35', '#36CFC0', ]; export const textStyle = {}; export const labelLine = { normal: { show: false, }, }; export const tooltipAxis = { trigger: 'axis', axisPointer: { type: 'shadow', }, }; // 盒子间距 export const grid = { top: '40', left: '0', right: '30', bottom: '15', containLabel: true, }; // 横轴 export const xAxis = { axisLine: { lineStyle: { color: '#8CA0B3', }, axisLabel: { textStyle: { color: '#666666', fontSize: 12, }, }, }, }; // 纵轴 export const yAxis = { axisLine: { lineStyle: { show: false, color: '#8CA0B3', }, axisTick: { show: false }, axisLabel: { show: true, textStyle: { color: '#666666', fontSize: 12, }, }, }, }; export const pieLegend = { x: '70%', y: 'top', orient: 'vertical', }; export const barWidth = '30'; export const barWidthStack = '60'; export const pieRadius = ['40%', '60%']; export const pieCenter = ['30%', '50%']; export const barItemStyle = { label: { show: true, position: 'top', formatter: '{c}' + '万元', }, }; export const barStackItemStyle = { label: { show: true, position: 'inside', formatter: '{c}' + '万元', color: '#fff', }, };