highchart第一个日期出现省略号
上代码:
xAxis: { categories, labels: { style: { color: '#605E67', // 设置字体颜色为绿色 fontWeight: 'bold', // 设置字体加粗 textOverflow: 'none' }, x:20 }, },
加上textOverflow:none 这个样式,在加个偏移量 x:20
上代码:
xAxis: { categories, labels: { style: { color: '#605E67', // 设置字体颜色为绿色 fontWeight: 'bold', // 设置字体加粗 textOverflow: 'none' }, x:20 }, },
加上textOverflow:none 这个样式,在加个偏移量 x:20