D3.js Chart: Labels ( Tags) Not Showing On IE11

前端 未结 2 391
傲寒
傲寒 2021-01-04 01:02

I have a stacked bar chart whose labels will not show on IE, but will on Chrome and Firefox.

The labels I have on the stacked bar charts ar

2条回答
  •  失恋的感觉
    2021-01-04 01:51

    This may be a dumb work around, but have considered running a function that "clicks" the graph or gives it attention?

    I once needed a base state class of an object to be inactive, however I also wanted the first instance to be active. It was sort of annoying, so I just made a small function that was used just once to click and change to active on load, but instance after that the base was set to inactive.

    I would consider doing a similar thing to the graph, it shouldn't effect any of the other browsers since they are loading in the right format anyway.

提交回复
热议问题