'ApexChart Heatmap fit text
I have a ApexChart Heatmap but the labels in my heatmap-box are to big.

Is there any possibility to make the box fit to my text?
This is the code of my dataLabels properti:
dataLabels: {
formatter: function (val, opts) {
return [
opts.w.config.series[opts.seriesIndex].data[opts.dataPointIndex].z,
'#' + opts.w.config.series[opts.seriesIndex].data[opts.dataPointIndex].a +
' Ø' + opts.w.config.series[opts.seriesIndex].data[opts.dataPointIndex].b,
'Min ' + opts.w.config.series[opts.seriesIndex].data[opts.dataPointIndex].c +
' Max ' + opts.w.config.series[opts.seriesIndex].data[opts.dataPointIndex].d,
];
},
offsetY: -15,
style: {
fontSize: "8px",
},
},
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
