feat(plugins/habits): add plugin_habits_charts_type (#938)

This commit is contained in:
Simon Lecoq
2022-03-22 05:22:18 +01:00
committed by GitHub
parent 6e41591d95
commit 10f83339bd
4 changed files with 135 additions and 49 deletions

View File

@@ -52,6 +52,17 @@ inputs:
type: boolean
default: no
plugin_habits_charts_type:
description: |
Charts display type
- `classic`: `<div>` based charts, simple and lightweight
- `chartist`: `<svg>` based charts, smooth
type: string
default: classic
values:
- classic
- chartist
plugin_habits_trim:
description: Trim unused hours on charts
type: boolean