How to place a text on morris.js bar graph

前端 未结 7 3120
無奈伤痛
無奈伤痛 2021-02-20 17:00

I have a morris.js bar graph. I want to place count on top of this graph. I looked into morris.js bar doc, could not find any.

On hover it should display

7条回答
  •  醉酒成梦
    2021-02-20 17:54

    Try by placing this code in CSS

    .morris-hover{position:absolute;z-index:1000;}
    

提交回复
热议问题