Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tool): add sparkline chart tool (#241)
* First hack for the graph tool! * Update bars with masking and more * Update bar for negative values * Negative values support for Area * The 25 June update. Works for the greater part! * First try adding min/max area to line * Update * Update with working value buckets * Update with working value buckets * Update with working bucket map * Add clock type with colors * Add timeline sparkline graph * Add some clock face to the clock * Update clock and graph options * Update with timeline variant audio (alpha) * Add audio and sunburst variants * Add logarithmic stuff to some graphs * Cleanup. Remove old stuff, comments and debugging * Basic x axis support * Refactor config, add yesterday and smooting for timeline and clock * Cleanup and some history stuff mostly * Add real-time state updates to graph to show last state only * Fix bug in getFill to allow today and add classmap * Rename color_thresholds to colorstops and experiment with use_value * Remove debug logging * Fix some bugs in equalizer regarding square parts * Add css to traffic light and more * Fix equalizer and trafficlight coordinate calculations. Set initial history timer to 100ms iso 1sec * Rename x_axis to period and y_axis to states * Implement HA stat period. Use state_values instead of states * Trying to adjust gradient to margins * Rename to sparkline and rename other settings * Rename and refactor a lot * Fix column and row spacing * Add flower2 and fix radial barcode background * Remove some debugging stuff * Big update with changed template and animation engine fixes for multiple entities * Move colorstop list to colors. Some cleanup * Remve logging. Change state_maps to allow templates * Change config to .sparkline and other config to .chart_type * Fix bugs. Add comment in SVG output for debugging
- Loading branch information
1 parent
e60943a
commit 8dcff77
Showing
10 changed files
with
3,867 additions
and
269 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.