xiaohantx

关于 echarts 问题

  •  
  •   xiaohantx ·
    xiaohantx · Dec 23, 2024 · 2022 views
    This topic created in 688 days ago, the information mentioned may be changed or developed.
    https://tutu.to/image/aOySP

    这种,y 轴上有一个一直存在可以拖拽的竖线,通过 tooltip 设置的好像只有鼠标放上去才有,而且只有一根,期望有两根可以拖动,然后拖动后会得到当前移动到位置的 xy 轴数据。
    5 replies  •  2024-12-23 18:04:00 +08:00
    dumbass
    dumbass
    Dec 23, 2024 via iPhone
    2
    yAxis 吧,可以设置默认展示
    xiaohantx
    xiaohantx
    OP
    Dec 23, 2024
    3
    @ovovovovo 我拿这个试试看
    xiaohantx
    xiaohantx
    OP
    Dec 23, 2024
    4
    @bojackhorseman 这个可以设置两根线吗
    xiaohantx
    xiaohantx
    OP
    Dec 23, 2024
    5
    @ovovovovo 画竖线比较容易,但是数据吸附好像有点复杂。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4641 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:33 · PVG 09:33 · LAX 17:33 · JFK 20:33
    ♥ Do have faith in what you're doing.