Skip to content

skip xAxis ticks for no data #365

Answered by luissimoes
luissimoes asked this question in Q&A
Discussion options

You must be logged in to vote

NOW we are there! thanks to YOU! :-)

Actually I didn't need the "i >0 " just the part in the filter to take the last point out (i < xs.length - 1)

What I did is to use
statistic: sum
period: day
(I had statistic: state --- and this cause the extra x marks to be shown, even with the i > 0)

Many thanks for your wonderful support and help!

The only thing now is the indicators....
I was using at the layout level "fn: $fn ({ys, vars}) => {vars.fromnetz = ys.at(-1);}" to get the value.
but now... how can I use it ?

I tried the following (added cards to the input list and see the assignment below....); but this doest bring any value.

      - fn: |
          ({ys,xs,hass, vars}) => ({

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@dbuezas
Comment options

@luissimoes
Comment options

@dbuezas
Comment options

@luissimoes
Comment options

Answer selected by luissimoes
@dbuezas
Comment options

@luissimoes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants