Skip to content

3D-scatter graph #298

Answered by dbuezas
aforell57 asked this question in Q&A
Jul 18, 2023 · 5 comments · 8 replies
Discussion options

You must be logged in to vote

I thought no one would ever ask! :)
This should also give you an idea on how to make a 2d scatter

type: custom:plotly-graph-dev
entities:
  - entity: sensor.openweathermap_pressure
    internal: true
    filters:
      - resample: 1h
    fn: $fn ({ xs, ys, vars }) => { vars.pressure = ys; vars.xs = xs; }
  - entity: sensor.openweathermap_temperature
    internal: true
    filters:
      - resample: 1h
    fn: $fn ({ ys, vars }) => vars.temperature = ys
  - entity: sensor.openweathermap_humidity
    internal: true
    filters:
      - resample: 1h
    fn: $fn ({ ys, vars }) => vars.humidity = ys
  - entity: ''
    x: $fn ({ vars }) => vars.temperature
    'y': $fn ({ vars }) => vars.pressure

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@aforell57
Comment options

@kimhey
Comment options

@dbuezas
Comment options

Answer selected by dbuezas
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dbuezas
Comment options

Comment options

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

@selzem
Comment options

@selzem
Comment options

@dbuezas
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants