niagara-ax/stations/demo/px/Residential_Charting.px
2026-03-17 13:31:18 -07:00

80 lines
2.6 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!-- Niagara Presentation XML -->
<px version="1.0" media="workbench:WbPxMedia">
<import>
<module name="baja"/>
<module name="bajaui"/>
<module name="bql"/>
<module name="chart"/>
<module name="gx"/>
<module name="history"/>
<module name="weather"/>
<module name="workbench"/>
</import>
<content>
<BorderPane padding="0.0" border="1.0 inset black">
<ScrollPane name="content">
<CanvasPane name="content" viewSize="730.0,550.0" background="linearGradient( stop(0.0% #004b6981) stop(0.0% #384b5a) stop(50.0% #4b6981) stop(100.0% #384b5a) )">
<Rect fill="#283540" stroke="black" geom="10.0,60.0,710.0,480.0"/>
<Rect fill="black" stroke="black" geom="10.0,10.0,710.0,50.0"/>
<Label layout="25.0,15.0,355.0,40.0" text="Residential Charting" font="26.0pt Tahoma" foreground="white" halign="left"/>
<CurrentWeatherView layout="560.0,10.0,160.0,50.0" iconSize="x32" tempFont="bold 11.0pt Tahoma" tempBrush="white" stateFont="11.0pt Tahoma" stateBrush="white">
<WbViewBinding ord="station:|slot:/Services/WeatherService/Richmond"/>
</CurrentWeatherView>
<TabbedPane layout="30.0,80.0,660.0,440.0">
<LabelPane>
<Label name="label" text="Gas"/>
<CanvasPane name="content" viewSize="660.0,440.0" background="#eeeeee">
<HistoryChart layout="20.0,30.0,630.0,190.0" showTimeRangeEditor="false" showDeltaEditor="false" showLiveUpdates="false" defaultLiveUpdates="true">
<WbViewBinding ord="history:/demo/Gas"/>
</HistoryChart>
<HistoryTable layout="20.0,230.0,630.0,190.0" showTimeRangeEditor="false" showDeltaEditor="false" showLiveUpdates="false" defaultLiveUpdates="true">
<WbViewBinding ord="history:/demo/Gas"/>
</HistoryTable>
</CanvasPane>
</LabelPane>
<LabelPane>
<Label name="label" text="Water"/>
<HistoryChart name="content" visible="false" showTimeRangeEditor="false" showDeltaEditor="false" showLiveUpdates="false" defaultLiveUpdates="true">
<WbViewBinding ord="history:/demo/Water"/>
</HistoryChart>
</LabelPane>
<LabelPane>
<Label name="label" text="Electricity"/>
<HistoryChart name="content" visible="false" showTimeRangeEditor="false" showDeltaEditor="false" showLiveUpdates="false" defaultLiveUpdates="true">
<WbViewBinding ord="history:/demo/Electric"/>
</HistoryChart>
</LabelPane>
</TabbedPane>
</CanvasPane>
</ScrollPane>
</BorderPane>
</content>
</px>