/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_plot.html" %} {% block example %}
Example
{{ plot.period('p1', 'bath_plot_value', 'avg', '3h') }}

{{ plot.period('p2', ['bath_plot1', 'bath_plot2', 'bath_plot3'], 'avg', '1h', 0, 0, 100, '', '', ['#aa0', '#a00', '#00a'], ['area', 'column', 'line']) }}

{{ plot.period('p3', 'bath_plot_value', 'avg', '10h', 0, 0, 100, '', '', '', '', '', '1h' ) }}

p1: a simple plot

{{ plot.period('p1', 'bath_plot_value', 'avg', '3h') }}

p2: a plot with 3 series

{{ plot.period('p2', ['bath_plot1', 'bath_plot2', 'bath_plot3'], 'avg', '1h', 0, 0, 100, '', '', ['#aa0', '#a00', '#00a'], ['area', 'column', 'line']) }}

p3: a zoomable plot

{{ plot.period('p3', 'bath_plot_value', 'avg', '20h', 0, 0, 100, '', '', '', '', '', '1h' ) }}
{% endblock %}