Hallo Zusammen,
ich habe folgendes Widget:
<h1><img class="icon" src='{{ icon0 }}time_graph.png'/>wp_stromunterbrechung AVG 3h</h1>
{{ plot.period('wp_stromunterbrechung_3_h', 'WP.STAT.PowerCut', 'avg', '3h') }}
in WP.STAT.PowerCut steht no/yes drin und nicht 0/1.
Kann man dem plot.period auch yes no beibringen, das er das interpretieren kann?
Grüße
spars
ich habe folgendes Widget:
<h1><img class="icon" src='{{ icon0 }}time_graph.png'/>wp_stromunterbrechung AVG 3h</h1>
{{ plot.period('wp_stromunterbrechung_3_h', 'WP.STAT.PowerCut', 'avg', '3h') }}
in WP.STAT.PowerCut steht no/yes drin und nicht 0/1.
Kann man dem plot.period auch yes no beibringen, das er das interpretieren kann?
Grüße
spars
Kommentar