Describe the solution you'd like
I would like to request a feature that allows to define a tooltip formatted in Java similar to how it's done in JavaScript.
Specifically, the ability to dynamically format the tooltip formatter content based on function params, such as name, value, etc.
Echarts Javascript Example
tooltip: {
trigger: 'item',
className: 'chart-tooltip',
formatter(params) {
return `
<div class="tooltip-content">
${params.marker}
<p id="selected-category" class="tooltip-category">${params.name}</p>
<p class="tooltip-value">${params.value}</p>
<p class="tooltip-currency">MDL</p>
<div class="tooltip-percent">${params.percent}%</div>
</div>
`
}
},

Describe the solution you'd like
I would like to request a feature that allows to define a tooltip formatted in Java similar to how it's done in JavaScript.
Specifically, the ability to dynamically format the
tooltip formattercontent based on functionparams, such as name, value, etc.Echarts Javascript Example