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

This commit is contained in:
luoyp 2023-08-01 08:44:27 +08:00
parent 7ae5fcda1e
commit 101b868c05

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,