Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let charts with sensor data be requested in one of the supported vega-lite themes (incl. a dark theme). * Add tooltip theme * Expand to cover other chart options * Use chart options in sensors UI template * Move chart options from JS to Python * Use chart options in sensors chart view * Avoid changing imported options across views * Changelog entry
- Loading branch information
Showing
5 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
chart_options = dict( | ||
mode="vega-lite", | ||
renderer="svg", | ||
actions={"export": True, "source": True, "editor": True}, | ||
theme="light", | ||
tooltip={"theme": "light"}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters