You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, sorry if this is not the correct place for this question, I am not sure where to ask.
I have been using ai2html in my work for a little bit and it is a brilliant tool. I was wondering if there was any way to have a text stay in a group, so that the text/label could be the child of said group name. I am hoping to be able to use hover states change the opacity etc, of the text/label.
At the moment I am just hiding the text behind a white box by changing its z-index and turning the opacity of that box to zero to reveal it on hover. I come from more of a design background, so my code knowledge is a bit limited. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Currently, text is all rendered as HTML that overlays graphical elements. If you want the text to be grouped with the bar, the most straightforward way to implement that would be to render both the text and bars as SVG and group them using the SVG <g> element. Using SVG text would cause the labels to scale along with the bars (using the responsiveness: dynamic setting). Would text that scales be a problem for you? Preventing text scaling would be possible but a bit complicated.
Hello, sorry if this is not the correct place for this question, I am not sure where to ask.
I have been using ai2html in my work for a little bit and it is a brilliant tool. I was wondering if there was any way to have a text stay in a group, so that the text/label could be the child of said group name. I am hoping to be able to use hover states change the opacity etc, of the text/label.
Here is an example of how I would like it to work.
At the moment I am just hiding the text behind a white box by changing its z-index and turning the opacity of that box to zero to reveal it on hover. I come from more of a design background, so my code knowledge is a bit limited. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: