x轴、y轴label自定义
yAxis: {
axisLabel: { textStyle: { color: '#fff' ,fontFamily: 'TencentSans',fontSize:'18px'} }
}
图标柱状、折线款式
series: [{
data:[],
lineStyle: { color: '#5470C6', width: 1, type: 'dashed' },
}]
渐变色
import * as echarts from 'echarts/core';
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#03F5FF'},
{offset: 1, color: '#00A2FF'}
]
)
继续更新…
发表回复