xiaohantx

关于 echarts 问题

  •  
  •   xiaohantx ·
    xiaohantx · Dec 23, 2024 · 1613 views
    This topic created in 518 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
    ovovovovo
        1
    ovovovovo  
       Dec 23, 2024
    dumbass
        2
    dumbass  
       Dec 23, 2024 via iPhone
    yAxis 吧,可以设置默认展示
    xiaohantx
        3
    xiaohantx  
    OP
       Dec 23, 2024
    @ovovovovo 我拿这个试试看
    xiaohantx
        4
    xiaohantx  
    OP
       Dec 23, 2024
    @bojackhorseman 这个可以设置两根线吗
    xiaohantx
        5
    xiaohantx  
    OP
       Dec 23, 2024
    @ovovovovo 画竖线比较容易,但是数据吸附好像有点复杂。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1097 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 18:09 · PVG 02:09 · LAX 11:09 · JFK 14:09
    ♥ Do have faith in what you're doing.