ftui icon indicating copy to clipboard operation
ftui copied to clipboard

Label/Legend in chart component

Open uwekaditz opened this issue 2 years ago • 1 comments

Using the label with the following code <ftui-chart-data label="(Min: $min °C / Max: $max °C)" color="gray"> works fine as label grafik but the same code is also used while hovering the chart data but the $functions are not resolved. grafik

uwekaditz avatar Jul 19 '22 18:07 uwekaditz

yes, not cool. But to change this a tooltips callback is necessary

options: { tooltips: { callbacks: { label: function(tooltipItem, data) { return ...; } } }

knowthelist avatar Jul 19 '22 19:07 knowthelist