Plot-Widgets

plot.comfortchart plot.minmaxavg plot.multiaxis plot.period plot.rtr plot.temprose


plot.minmaxavg

A simple widget for plotting item min/max/avg chart

Parameters
{{ plot.minmaxavg(id, item, tmin, tmax, ymin, ymax, unit, axis, count) }}
id
unique id for this widget
item
the item. Only one item supported.
tmin
the minimum time (x-axis): '1h', '2h'... (duration-format)
tmax
the maximum time (x-axis): '', '1h', '2h'... (duration-format, default: now)
ymin
the minimum y-axis (optional)
ymax
the maximum y-axis (optional)
unit
a unit, tries to get the format for that unit from the language-file (optional)
axis
title/s for the x-axis and y-axis (optional)
count
count number of data points to load, default 100
More Information
Simple Example
{{ plot.minmaxavg('p1', bath_plot_value, '12h') }}

Example - less counts
{{ plot.minmaxavg('p2', bath_plot2, '12h', '', '', '', '', '', 25) }}

Widgets

Design

Misc