散点图中画三根线 #6427
Replies: 2 comments
-
import { Scatter } from '@ant-design/plots' const data = [ const DemoScatter = () => { function App() { </> ) } export default App |
Beta Was this translation helpful? Give feedback.
-
参考这个 demo:https://g2.antv.antgroup.com/examples/general/link/#link-annotation |
Beta Was this translation helpful? Give feedback.
-
Dear 大神们
我有一个需求需要实现
如图所示
坐标系中绘制了31个点
需要连接首末两点
根据首末两点作出的直线,找到这直线两侧最远的离散点,做出平行线,这个平行线贯穿最远的离散点
在这三根直线与Y轴坐标相交的地方标记处当前Y坐标的值,高亮显示
请帮忙实现,提供帮助。
以上,谢谢!
Beta Was this translation helpful? Give feedback.
All reactions