Calculated values lacks of showing additional information other than the expression it was used (unless the display name changes). A little javascript helps to pass a hidden calculated value to it.
html
<div id="myCalcValue">
Selected letters: <SpotfireControl id="6cdd0461700b42c98f246b8d61ffb55b" />
</div>
<div id="myCalcValueTootlips" hidden>
Calculated value tooltips:
<SpotfireControl id="f245f0a3515d476783fbb36063e6669c" />
</div>
tooltip_source = "myCalcValueTootlips"
tooltip_target = "myCalcValue"
window.clearInterval(window.sectorTooltipInterval)
window.sectorTooltipInterval=setInterval(function(){
document.querySelector("#"+tooltip_target).title = document.querySelector("#"+tooltip_source).innerText
}, 500);
output
No comments:
Post a Comment