Added 'everyMinute' strategy to examples (#723)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
pull/734/head
Christoph Weitkamp 2018-06-17 12:09:29 +02:00 committed by Jerome Luckenbach
parent 94a28b3842
commit 95e3d0aa91
2 changed files with 4 additions and 3 deletions

View File

@ -112,6 +112,7 @@ Below you will find a complete example persistence configuration file:
```java
// persistence strategies have a name and definition and are referred to in the "Items" section
Strategies {
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"

View File

@ -454,7 +454,7 @@ See this [Tutorial](https://community.openhab.org/t/13761/1) for more details.
**Technical constraints and details:**
- When using rrd4j persistence, you must use the `everyMinute` (60 seconds) logging strategy. Otherwise rrd4j thinks that there is no data and will not properly draw the charts.
- When using rrd4j persistence, the strategy `everyMinute` (60 seconds) has to be used. Otherwise no data will be persisted (stored) and the chart will not be drawn properly.
- The visibility of multiple Chart objects may be toggled to simulate changing the Chart period; non-visible Chart widgets are NOT generated behind the scenes until they become visible.
- When charting a group of item, make sure that every label is unique. If the label contains spaces, the first word of the label must be unique. Identical labels result in an empty chart.