Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plot description to sensors_to_show #1194

Open
nhoening opened this issue Sep 23, 2024 · 0 comments
Open

Add plot description to sensors_to_show #1194

nhoening opened this issue Sep 23, 2024 · 0 comments
Labels

Comments

@nhoening
Copy link
Contributor

nhoening commented Sep 23, 2024

We could add an optional description per plot, which would be displayed when hovering over the plot (see the smart buildings repo / ask Felix) for example vega-lite code.

In the sensors_to_show attribute, the extra attribute would be like this:

[
    {
        "title": "My plot",
        "sensors": [2,3,5],
        "description": "Here we show three sensors, which means you see three lines"
   }
]

We'd adjust the SensorsToShow schema, maybe the patch endpoint for assets, add to the documentation of sensors_to_show, and if editing already has its own place (#1076), then update the form and JS as well.

@nhoening nhoening added the UI label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant