/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_plot.html" %} {% block example %}
{% filter trim|escape|nl2br %}{% verbatim %}
{{ plot.pie('', ['bath.p1','bath.p2','bath.p3'], ['Pie 1','Pie 2','Pie 3']) }}
{{ plot.pie('', ['bath.p1','bath.p2','bath.p3'], ['Pie 1','Pie 2','Pie 3'], ['#FF0000','#FFFFFF','#000000'], '', 'label') }}
{% endverbatim %}{% endfilter %}