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

Merge pull request !191 from 阿飞/dev1
This commit is contained in:
奔跑的面条 2023-08-11 13:50:54 +00:00 committed by Gitee
commit f43e25bd45
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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,