/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_plot.html" %} {% block example %}
Example
{% filter trim|escape|nl2br %}{% verbatim %} {{ plot.temprose('', ['sleep.rtr.act', 'office.rtr.act', 'kid.rtr.act', 'bath.rtr.act', 'floor.rtr.act'], ['sleep.rtr.set', 'office.rtr.set', 'kid.rtr.set', 'bath.rtr.set', 'floor.rtr.set'], ['Sleeping', 'Office', 'Kid', 'Bath', 'Floor']) }} {{ plot.temprose('', ['bath.p1', 'bath.p2', 'bath.p3'], '', ['South', 'East', 'West'], 'Brightness', 'lx') }} {% endverbatim %}{% endfilter %}

house temperature plot

{{ plot.temprose('', ['sleep.rtr.act', 'office.rtr.act', 'kid.rtr.act', 'bath.rtr.act', 'floor.rtr.act'], ['sleep.rtr.set', 'office.rtr.set', 'kid.rtr.set', 'bath.rtr.set', 'floor.rtr.set'], ['Sleeping', 'Office', 'Kid', 'Bath', 'Floor']) }}

brightness in cardinal directions

{{ plot.temprose('', ['sleep.rtr.act', 'office.rtr.act', 'kid.rtr.act'], '', ['South', 'East', 'West'], ['Brightness'], 'lx') }}
{% endblock %}