|
|
@ -30,6 +30,8 @@ |
|
|
|
{#UPDATED} <span id="pwrDayRefresh"></span> {#SECONDS} |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- |
|
|
|
<h3>{#TOTAL_YIELD_PER_DAY}</h3> |
|
|
|
<div class="chartDivContainer"> |
|
|
|
<div class="chartDiv" id="ydChart"> </div> |
|
|
@ -48,7 +50,7 @@ |
|
|
|
<input type="file" name="insert" style="width: 80%;"> |
|
|
|
</form> |
|
|
|
</fieldset> |
|
|
|
|
|
|
|
--> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{#HTML_FOOTER} |
|
|
@ -330,7 +332,7 @@ |
|
|
|
// Regular update: |
|
|
|
window.setInterval("getAjax('/api/powerHistoryDay', parsePowerHistoryDay)", refresh * 1000); |
|
|
|
// one after the other |
|
|
|
addNextChart = true; |
|
|
|
addNextChart = false; // if true: add YieldDayHistory |
|
|
|
} |
|
|
|
powerHistDayObj.setXScale(refresh, obj.lastValueTs * 1000); |
|
|
|
powerHistDayObj.update(obj.value, maximum); |
|
|
|