Niagara Energy Benchmark Chart
- Show Energy Meter Value Benchmark Comparison
- Updates in Real-Time
- Uses BQL Query to Collate History Data
- Modify to Your Style
- Works in Workbench and Modern Browser
The Niagara energy benchmark chart retrieves energy meter histories and presents them on a comparison chart. The chart should be bound to a numeric point or numeric writable. It updates in real-time and uses bql queries to collate the data. Set the daily benchmark values in the charts configuration. The chart has a number of configurable properties that can be used to modify look, feel, and functionality. Also check out the Energy View Template.
1. Copy the energyBenchmarkChart-ux.jar file to your modules directory.
2. Open the module from your palette file.
3. Drag and drop the widget from the palette onto your px view.
The widget has a number of configurable properties that can be used to modify look, feel, and functionality.
Changing Widget Properties - most properties are self-explanatory but some require some explaining.
Main Chart Binding
Set this to an absolute ord, e.g.
station:|slot:/Drivers/NiagaraNetwork/AHU5 or relativized ORD e.g.
The ord should point to a numeric point/writable that has a numeric interval extension.
You can reference a history ord directly e.g.
These are the values that your site is aiming for. It is a comma delimited string with 7 values, and starts from Sunday. You can also point to a string point which contains these values. Set the dailyBenchmarksOrd property instead.
When the chart loads up, it will display a specified period. Options are (case-sensitive):
How often the chart data should refresh. In milliseconds.
You can now use the widget in your custom html page as long as the html file is in a appropriate station directory. E.g.:
1. Create an html page and place in your station files directory.
2. Create a div element and give it an id so you can inject the widget into this area. E.g.: widget1.
3. Add the following scripts before the closing head tag or the closing body tag. E.g.: