@Jared-Wiltshire I want to create dashboard's for several energy-site's. Each with an overview chart in 15Min Delta Rollup, a pie to show the diversification between the different meters and some stat's. But I can't find an example that describe's this with fixed data point's...
I don't want a picker or a list for that. I want the dashboard available to the client. So they shouldn't have an option to change the data-source or data-point used on the dashboard.
Can you please give me an specific example for this demand?
And is the code off that "Energy Campus Example" available somewhere public? I read about it in two postings and saw the video but can't find anything specific...
EDIT: played with the chart examples and found a way to fix it to delta and 15 Minutes:
rollup="DELTA" rollup-interval="15 MINUTES"
But I still need figure out how to pre define data-point's for a chart
EDIT2: in the <ma-point-values> Doc point-xid is mentioned but looking in the legacy UI / data-point's I can't find that string. All I see is "Export Id (XID):", is that the same and just not consistently named?... And even if I found it how would I define that to let's say "point1"?
EDIT3: <ma-get-point-value> is my solution:
<div id="87c617bf-e3be-4e9c-9e66-b5ea619899e8" style="position: absolute; left: 1px; top: 2px; width: 769px; height: 34px; text-align: center;">WSE KA-DB</div>
<ma-get-point-value point="point1" point-xid="GHV1 3P6 5OG EE kWh"></ma-get-point-value>
<ma-get-point-value point="point2" point-xid="GHV1 3P7 4OG EE kWh"></ma-get-point-value>
<ma-point-values point="point1" values="point1Values" from="dateBar.from" to="dateBar.to" rollup="DELTA" rollup-interval="15 MINUTES">
</ma-point-values>
<ma-point-values point="point2" values="point2Values" from="dateBar.from" to="dateBar.to" rollup="DELTA" rollup-interval="15 MINUTES">
</ma-point-values>
<ma-serial-chart style="height: 300px; width: 100%" series-1-values="point1Values" series-1-point="point1" series-2-values="point2Values" series-2-point="point2" series-2-axis="right" legend="true" balloon="true" options="{valueAxes:[{minimum:0, axisColor:point1Color, color:point1Color}, {axisColor:point2Color, color:point2Color}]}">
</ma-serial-chart>
Still looking for an example for the pie... ;-)