14.02.2017, 07:45
Add two classes to the visualization element that you want to have a tooltip: tooltip tooltip-1
Common tooltip class provides the tooltip element itself, while second class (tooltip-1) specifies the tooltip text
Custom CSS, adjust styles and text as needed:
Common tooltip class provides the tooltip element itself, while second class (tooltip-1) specifies the tooltip text
Custom CSS, adjust styles and text as needed:
Code:
.usermode .tooltip:before {
display: none;
position: absolute;
top: -30px;
height: 20px;
line-height: 20px;
left: 0;
background-color: #eee;
padding: 2px 6px;
border-radius: 3px;
}
.usermode .tooltip:hover:before {
display: block;
}
.usermode .tooltip-1:before {
content: "My custom tooltip";
}