You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to plot energy/water usage during the year. I have set graph_span: 1 year, span: start: year. I do not have the data for all 12 months yet, and the graph is not occupying all available area, see the picture below.
Does anyone know how to display all 12 months even if there is no data, and make the graph wider to occupy empty areas on the left and right ?
My full config:
type: custom:apexcharts-card
locale: en
hours_12: false
color_list:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I'm trying to plot energy/water usage during the year. I have set graph_span: 1 year, span: start: year. I do not have the data for all 12 months yet, and the graph is not occupying all available area, see the picture below.
Does anyone know how to display all 12 months even if there is no data, and make the graph wider to occupy empty areas on the left and right ?
My full config:
type: custom:apexcharts-card
locale: en
hours_12: false
color_list:
apex_config:
animations:
enabled: true
easing: linear
speed: 700
animateGradually:
enabled: true
delay: 150
fill:
type: gradient
gradient:
shadeIntensity: 1
stops:
- 0
- 80
- 100
tooltip:
x:
format: MMMM yyyy
header:
show: true
title: Yearly Water Consumption
show_states: true
colorize_states: true
graph_span: 1 year
span:
start: year
series:
type: column
show:
in_header: false
fill_raw: zero
statistics:
type: state
period: month
align: start
type: column
show:
in_chart: false
name_in_header: false
Beta Was this translation helpful? Give feedback.
All reactions