/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ /** * The diagram showing curves of relative humidity and effective temperature superimposed upon rectangular coordinates. The comfort-zones indicate when humans feel good. * * @param unique id for this widget * @param a gad/item for the temperature * @param a gad/item for the humidity */ {% macro comfortchart(id, gad_temp, gad_humidity) %}
{% endmacro %} /** * A simple widget for plotting charts * * @param unique id for this widget * @param series of item/s. More item/s in array form: [ item1 , item2 ] * @param the mode: 'avg', 'sum', 'min', 'max' * @param the minimum time (x-axis): '1h', '2h'... (duration-format) * @param the maximum time (x-axis): '', '1h', '2h'... (duration-format, default: now) * @param the minimum y-axis (optional) * @param the maximum y-axis (optional) * @param the step between two time-points (optional, only for 'offline'-driver) * @param label/s for each series (optional) * @param color/s for each series e. g. '#f00' for red (optional, default: sutiable for design) * @param type/s for each series: 'line', 'stair', 'spline', 'area', 'areaspline', 'column' (optional, default 'line') * @param title/s for the x-axis and y-axis * @param minimum time while zooming in sec (optional, duration-format) * * @see misc/fundamentals#Array-Form * @see misc/fundamentals#Duration-Format */ {% macro period(id, gad, mode, tmin, tmax, ymin, ymax, step, label, color, exposure, axes, zoom) %}
{% endmacro %} /** * A temperature-chart for use with an rtr. Plots actual and set temperature. If the state is given it will be shown as pie. * * @param unique id for this widget * @param series of a gad/item for the actual-temperature * @param series of a gad/item for the set-temperature * @param series of a gad/item for the state of the actor. It is shown as percental value within the pie. (> 0 is considered as 'on') */ {% macro rtr(id, gad_actual, gad_set, gad_state) %}
{% endmacro %} /** * A complete house temperature plot. The rose shows all rooms with there actual and set temperature in one diagramm. * * @param unique id for this widget * @param a gad/item for the actual-temperature. More item/s in array form: [ item1 , item2 ] * @param a gad/item for the set-temperature. More item/s in array form: [ item1 , item2 ] * @param label/s for each axis * * @see misc/fundamentals#Array-Form */ {% macro temprose(id, gad_actual, gad_set, axis) %} {% if once('highcharts-more') %} {% endif %}
{% endmacro %}