This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import*asechartsfrom'echarts/lib/echarts';
vardefaultOption={
show:true,
grid3DIndex:0,
// 反向坐标轴
inverse:false,
// 坐标轴名字
name:'',
// 坐标轴名字位置
nameLocation:'middle',
nameTextStyle:{
fontSize:16
},
// 文字与轴线距离
nameGap:20,
axisPointer:{},
axisLine:{},
// 坐标轴小标记
axisTick:{},
axisLabel:{},
// 分隔区域
splitArea:{}
};
varcategoryAxis=echarts.util.merge({
// 类目起始和结束两端空白策略
boundaryGap:true,
// splitArea: {
// show: false
// },
// 坐标轴小标记
axisTick:{
// If tick is align with label when boundaryGap is true