Prevent last value to extend over all of the graph span #4697
Unanswered
markuswesterberg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I prevent the last value to fill over the whole graph span? See code below and see also screenshot from how it is displayed. I don't want the value to be seen after current hour:
type: custom:apexcharts-card
yaxis:
min: ~0
max: 10
apex_config:
tickAmount: 4
decimalsInFloat: 2
opposite: true
min: ~0
max: 50
apex_config:
tickAmount: 4
decimalsInFloat: 2
header:
show: true
title: Elpris och konsumption
show_states: false
colorize_states: false
apex_config:
legend:
show: false
graph_span: 48h
span:
start: day
offset: '-1day'
now:
show: true
label: Nu
experimental:
color_threshold: true
series:
name: Elpris just nu
yaxis_id: price
type: area
color: none
stroke_width: 0.1
color_threshold:
color: '#0000ff'
color: '#2aff00'
color: '#ffd500'
color: '#eb0000'
color: '#b60000'
opacity: 0.8
float_precision: 3
Beta Was this translation helpful? Give feedback.
All reactions