echarts全局渐变色盘
var color = [
new echarts.graphic.LinearGradient(0, 0, 1, 0, [
{
offset: 0,
color: '#ff960e',
},
{
offset: 1,
color: '#f9d12f',
},
]),
new echarts.graphic.LinearGradient(0, 0, 1, 0, [
{
offset: 0,
color: '#47b6ea',
},
{
offset: 1,
color: '#00ffcf',
},
]),
new echarts.graphic.LinearGradient(0, 0, 1, 0, [
{
offset: 0,
color: '#5f7ff2',
},
{
offset: 1,
color: '#7ba6ff',
},
]),
new echarts.graphic.LinearGradient(0, 0, 1, 0, [
{
offset: 0,
color: '#fb6666',
},
{
offset: 1,
color: '#ff960e',
},
]),
]