Reports missing data point names...
-
Hey Guys, we have a Mango installation where we are monitoring a number of solar and mains powered microwave repeater sites.
I have created a simple report showing a few of the solar sites battery voltages.
Each one I have put in using a different colour so they look nice on the consolidated report. However when the report comes through it's missing the site name (data source name) from the graph titles so they all come up with just Battery Voltage.
To avoid having to manually type the site name into the data point's Battery Voltage name field on each site, is there something we can change in the reporting module to include the data source name like it is at the bottom of the consolidated graph?
Cheers
Dan -
Yes! And you'll be pleased to know it does not require a new module or any of that jazz. Simply edit Mango/web/modules/reports/web/ftl/reportChart.ftl line 114
<tr><td colspan="2" class="pointName">${point.name}</td></tr>
would become...
<tr><td colspan="2" class="pointName">${point.deviceName} - ${point.name}</td></tr>
And unfortunately you will probably have to perform this edit again if you overwrite the module, and the corresponding Mango/overrides/ location doesn't seem to work.
-
Thanks for that, I'll give it a go.
Cheers
Dan