Hi, I have a webix chart in my application and I would like the tooltip to have white background.
Actually I want to change other properties as well (padding, line height etc.).
Is it possible?
Hello,
I have a webix chart in my application and I would like the tooltip to have white background.
You can set the CSS class to the tooltip as
<style>
.tooltipStyle {
background-color: white;
color: black;
}
</style>
...
tooltip:{
template:"#sales#",
css: "tooltipStyle"
},
...
Sample: https://snippet.webix.com/a3w7pviu
https://docs.webix.com/api__link__ui.tooltip_css_config.html
Actually I want to change other properties as well (padding, line height etc.).
Also, is possible to resolve via CSS
As another way, you can use template https://docs.webix.com/desktop__tooltip.html#tooltipsfordatacomponents