flrs / visavail

A D3.js Time Data Availability Visualization
https://flrs.github.io/visavail/docs/samples/basic.html
MIT License
310 stars 59 forks source link

Add text/html inside Bar #47

Open potapovnikita opened 3 years ago

potapovnikita commented 3 years ago

How i can add text/html inside the bar?

For example: Снимок экрана 2021-01-26 в 21 53 18

Thanks!

tanganellilore commented 3 years ago

Before develop it, can you explain what you thing what is needed to add on the bar? Thanks @potapovnikita

potapovnikita commented 3 years ago

I think that we should be able to add any html node.

tanganellilore commented 3 years ago

Sorry, but if you use visavail, that is based on d3 library, you know that inside svg graph, html tag is supported by IE.

foreignObject that is used on svg for add div or something similar, is not supported by IE.