Add oh-trend trendSampling parameter to widget definition (#993)

Signed-off-by: Dominik Budde <dominik.budde@googlemail.com>
pull/999/head
Dominik Budde 2021-04-08 19:11:08 +02:00 committed by GitHub
parent ebd4b04c57
commit de65df955c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -48,6 +48,11 @@ Trend line to display the overall recent evoluation of an item
Colors of the trend line (see <a target="_blank" class="external text-color-blue" href="https://github.com/QingWei-Li/vue-trend#props">vue-trend</a>)
</PropDescription>
</PropBlock>
<PropBlock type="TEXT" name="trendSampling" label="Trend Line Sampling">
<PropDescription>
Amount of minutes between each point of the trendline (default: 60). Affected by persistence strategies different from "every minute"
</PropDescription>
</PropBlock>
</PropGroup>
</div>

View File

@ -4,5 +4,6 @@ export default () => [
pi('trendItem', 'Trend Line Item', 'Item to show as a trend line in the background'),
pt('trendStrokeWidth', 'Trend Stroke Width', 'Thickness of the trend line').a(),
pt('trendWidth', 'Trend Line Width', 'Width of the trend line (leave blank to set automatically)').a(),
pt('trendGradient', 'Trend Line Gradient', 'Colors of the trend line (see <a target="_blank" class="external text-color-blue" href="https://github.com/QingWei-Li/vue-trend#props">vue-trend</a>)').a()
pt('trendGradient', 'Trend Line Gradient', 'Colors of the trend line (see <a target="_blank" class="external text-color-blue" href="https://github.com/QingWei-Li/vue-trend#props">vue-trend</a>)').a(),
pt('trendSampling', 'Trend Line Sampling', 'Amount of minutes between each point of the trendline (default: 60). Affected by persistence strategies different from "every minute"').a()
]