ftui
ftui copied to clipboard
Label/Legend in chart component
Using the label with the following code <ftui-chart-data label="(Min: $min °C / Max: $max °C)" color="gray">
works fine as label
but the same code is also used while hovering the chart data but the $functions are not resolved.
yes, not cool. But to change this a tooltips callback is necessary
options: { tooltips: { callbacks: { label: function(tooltipItem, data) { return ...; } } }