/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_plot.html" %} {% block example %}
Please note

This plot uses historical data series. Not all backends/drivers do support this.

Example
{% filter trim|escape|nl2br %}{% verbatim %} {{ plot.rtr('', 'bath.plot.temp_actual', 'bath.plot.temp_set', 'bath_plot_state') }} {{ plot.rtr('', 'bath.plot.temp_actual', 'bath.plot.temp_set', 'bath_plot_state', '50', '3d', 'now', 'on') }} {% endverbatim %}{% endfilter %}

room temperature plot

{{ plot.rtr('', 'bath.plot.temp_actual', 'bath.plot.temp_set', 'bath_plot_state', '', '', '') }}

plot for 3 days with less datapoints, using backend's on function for state

{{ plot.rtr('', 'bath.plot.temp_actual', 'bath.plot.temp_set', 'bath_plot_state', '50', '3d', 'now', 'on') }}
{% endblock %}