【问题标题】:How to change the z-index of chartjs annotations label?如何更改chartjs注释标签的z-index?
【发布时间】:2020-09-22 08:40:51
【问题描述】:

Label is not overlapping the chart edge

有谁知道是否有办法设置 z-index 以使标签出现在图表边缘?

我正在使用注解插件:https://github.com/chartjs/chartjs-plugin-annotation

【问题讨论】:

    标签: javascript annotations chart.js


    【解决方案1】:

    您可以在“beforeDraw”上设置drawTime。

    【讨论】:

    • 正如目前所写,您的答案尚不清楚。请edit 添加其他详细信息,以帮助其他人了解这如何解决所提出的问题。你可以找到更多关于如何写好答案的信息in the help center
    • 请提供代码 sn-ps 即兴发挥你的 cmets
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-06-08
    • 2011-01-24
    • 2015-05-08
    • 1970-01-01
    • 2020-12-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多