| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- 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',
- },
- };
|