/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_device.html" %} {% block example %} The widget displays the UZSU entries as a graph and allows modifications:
Combine the widget with device.uzsuicon in order to access all entries for an item.
Example
{% filter trim|escape|nl2br %}{% verbatim %} {{ device.uzsuicon('', 'uzsuitem', '', 'jquery_clock', 'jquery_clock', 'num') }} {{ device.uzsugraph('', 'uzsuitem', '', 1, 'num', [0,100,10]) }} {{ device.uzsugraph('', 'uzsuitem2', 'Boolean', 1, 'bool', ['On:1', 'Off:0'], 'false') }} {% endverbatim %}{% endfilter %}>
{{ device.uzsuicon('', 'uzsuitem', '', 'jquery_clock', 'jquery_clock', 'num') }} {{ device.uzsugraph('', 'uzsuitem', '', 1, 'num', [0,100,10]) }} {{ device.uzsugraph('', 'uzsuitem2', 'Boolean', 1, 'bool', ['On:1', 'Off:0'], 'false') }}
{% endblock %}