Never did this before but a bit of digging in below HUGE thread helped
THIS is just me fiddling around, the values/lables make no sense
type: custom:apexcharts-card
header:
title: TEST
show: true
floating: false
show_states: true
apex_config:
legend:
show: false
show_states:
formatter: |
EVAL:function(value, opts) {
u = Math.floor(value);
m = Math.floor((value - u) * 60);
result = "";
if (u > 0)
result = u + "u ";
if (m > 0)
result += m + "m";
return result;
}
yaxis:
- id: temperature
labels:
formatter: |
EVAL:v => `${Math.round(v)}°C`
dataLabels:
formatter: |
EVAL:v => `${Math.round(v)}°C`
series:
- entity: weather.home
name: Accuweather
type: column
show:
as_duration: hour
datalabels: true
data_generator: |
return entity.attributes.forecast.map((entry) => {
return [new Date(entry.datetime), entry.temperature];
});
