修复单折线渐变图鼠标移入报错

This commit is contained in:
luoyp 2023-07-26 10:09:53 +08:00
parent df1a1f4e87
commit 97493882a9

View File

@ -33,6 +33,10 @@ export const option = {
width: 3, width: 3,
color: { color: {
type: 'linear', type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [ colorStops: [
{ {
offset: 0, offset: 0,