fix:根据ui修改页面 echats图滑动条
This commit is contained in:
@@ -214,11 +214,27 @@
|
||||
{
|
||||
type: 'slider',
|
||||
// backgroundColor: 'yellow',
|
||||
// fillerColor: 'yellow',
|
||||
fillerColor: new echarts.graphic.LinearGradient(
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
[
|
||||
{
|
||||
offset: 0,
|
||||
color: 'rgba(97, 134, 255, 1)',
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: 'rgba(36, 186, 255, 1)',
|
||||
},
|
||||
],
|
||||
false,
|
||||
),
|
||||
height: 12, // 设置slider的高度为15
|
||||
start: 0,
|
||||
end: 100,
|
||||
right: 11,
|
||||
right: 13,
|
||||
left: 10,
|
||||
bottom: 10,
|
||||
handleIcon:
|
||||
@@ -226,9 +242,41 @@
|
||||
handleSize: '140%', // 放大按钮
|
||||
// borderColor: 'none',
|
||||
handleStyle: {
|
||||
// color: 'red',
|
||||
// shadowBlur: 6,
|
||||
// shadowColor: 'yellow',
|
||||
color: new echarts.graphic.LinearGradient(
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
[
|
||||
{
|
||||
offset: 0,
|
||||
color: 'rgba(97, 134, 255, 1)',
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: 'rgba(36, 186, 255, 1)',
|
||||
},
|
||||
],
|
||||
false,
|
||||
),
|
||||
borderWidth: 4,
|
||||
borderColor: new echarts.graphic.LinearGradient(
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
[
|
||||
{
|
||||
offset: 0,
|
||||
color: 'rgba(255, 255, 255, 1)',
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: 'rgba(204, 238, 255, 1)',
|
||||
},
|
||||
],
|
||||
false,
|
||||
),
|
||||
shadowOffsetX: 0, // 阴影偏移x轴多少
|
||||
shadowOffsetY: 0, // 阴影偏移y轴多少
|
||||
},
|
||||
|
Reference in New Issue
Block a user