/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Wolfram v. Hülsen * @copyright 2022 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_plot.html" %} {% block example %} This plot displays x/y data provided by the backend in list items which need to have the structure [[ x-value_0, y-value_0 ], ... , [ x-value_n, y-value_n ]]. x-values must be in ascending order.
Examples
{% filter trim|escape|nl2br %}{% verbatim %} {{ plot.xyplot('', ['bath.list1', 'bath.list2', 'bath.list3'], '','', '-20', '20', '20', '80', ['0.2','0.6','1.0'], '', ['lightblue','darkblue','lightgreen'], 'spline', ['AT','Vorlauf'], '', '', '', '', '', '°C', {xAxis:{reversed: true }, title:{text: "Heizkurven mit unterschiedlicher Steigung", align: "left"}, legend:{align: "right", floating:true, y: 20}}') }} {% endverbatim %}{% endfilter %}

Heating Curves

{{ plot.xyplot('', ['bath.list1', 'bath.list2', 'bath.list3'], '','', '-20', '20', '20', '80', ['0.2','0.6','1.0'], '', ['lightblue','darkblue','lightgreen'], 'spline', ['AT','Vorlauf'], '', '', '', '', '', '°C', {xAxis:{reversed: true }, title:{text: "Heizkurven mit unterschiedlicher Steigung", align: "left"}, legend:{align: "right", floating:true, y: 20}}) }}

Options
Most of the options are identical to the options of plot.period widget. Please see its documentation for more explanation. {% endblock %}