🐛 [BUG]面积图 / 图形样式/ areaStyle / lineDash配置不生效 #3579
-
面积图 / 图形样式/ areaStyle / lineDash配置不生效代码 import React, { useState, useEffect } from 'react'; const DemoArea = () => { useEffect(() => { const asyncFetch = () => { return <Area {...config} />; ReactDOM.render(, document.getElementById('container')); |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
G2 4.0 版本吗?可否提供一个 codesandbox 复现链接 |
Beta Was this translation helpful? Give feedback.
-
https://charts.ant.design/zh/examples/area/basic#basic-gradients 1.4.2 |
Beta Was this translation helpful? Give feedback.
-
设置 line.style.lineDash 即可。 line: {
style: {
lineDash: [4, ],
}
} |
Beta Was this translation helpful? Give feedback.
设置 line.style.lineDash 即可。