I’m trying to get a chart with a bimonthly bar chart with energy power consuption starting from february-march. What I want is a 6 bar chart and I used this code:
type: custom:apexcharts-card
header:
title: Consumo bimestrale
show: true
series:
- entity: sensor.consumo_feb_mar
name: "Feb–Mar"
type: column
- entity: sensor.consumo_apr_mag
name: "Apr–Mag"
type: column
- entity: sensor.consumo_giu_lug
name: "Giu–Lug"
type: column
- entity: sensor.consumo_ago_set
name: "Ago–Set"
type: column
- entity: sensor.consumo_ott_nov
name: "Ott–Nov"
type: column
- entity: sensor.consumo_dic_gen
name: "Dic–Gen"
type: column
apex_config:
chart:
stacked: false
plotOptions:
bar:
columnWidth: 45%
xaxis:
type: category
But what I get is the following:
How to get what I want?
