How to place a text on morris.js bar graph

前端 未结 7 3057
無奈伤痛
無奈伤痛 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 18:01

    @chiliNUT @abi1964 I placed multiple charts but I am having a problem w/the CSS. The data, bar height etc. all works fine but the #s are being stacked on top. I've tried every iteration of position in the CSS. Ideas or a Fiddle how to fix this?

    image of multiple graphs w/#'s stacking

提交回复
热议问题