【问题标题】:how to handle overlapping points in zingchart jshow to handle overlapping points in zingchart js
【发布时间】:2022-12-27 06:09:52
【问题描述】:

if I have the same point for two plots in a line chart of zingchart js when I hover on that point I got only a single plot value other is getting hidden behind one

【问题讨论】:

    标签: overlapping zingchart


    【解决方案1】:

    If active areas for tooltips overlap perfectly, only one value will show. crosshair-x is the only tool which shows all values as you can see in this demo

    【讨论】:

    • actually i my chart there are many lines i.e 20 to 30 line plots are there which are generated dynamically so if i used crosshair-x then all points are display like you shown in reply , and there for my hole ui get disturb , that's why i need some other solution for this thank you for reply
    • can we do something like check overlapping points and if the point is getting overlapping we will change the move point slightly so we can hover on that also
    • No, its not going to work, because you may have 20 points there, how would you make space for all? The only option, i think, is to just check values in rules, but even that i'm not yet sure it will work.
    猜你喜欢
    • 2022-12-02
    • 2022-12-27
    • 2022-12-26
    • 2022-12-28
    • 2022-12-02
    • 2022-12-26
    • 2022-12-02
    • 2022-12-26
    • 2022-11-20
    相关资源
    最近更新 更多