Thanks Terry. That worked. I was away from the project for a few days but back working on it now. I have another question. I'm trying to create two guage displays on the same same page with a different data point for each. I'm having some difficulty understanding how to get it working. I have two display configurations and two point configurations but can't figure out how to assign display 1 to point 1 and display 2 to point 2. I hope this makes sense. Any idea how I can get it up and running or where to look?
Posts made by jmdev
-
RE: Build a Mango Dashboard Tutorial (Mango 2.x)
-
RE: Build a Mango Dashboard Tutorial (Mango 2.x)
Hi Joel,
I'm trying to create a custom public dashboard. The tutorial is great but I'm having some difficult with Data Point Matching.
I already created 2 test devices using demo data from the Template Configuration Import, copied the code from demoVideoExampleCode.shtm and swapped out some values.
To start with I'm just trying to create a serial chart using data from one of the test devices (e.g. Amps & Outside Temparture).
When I load the page I'm getting the following console error:
ReferenceError: DataProvider is not defined
this.PointValueDataProvider = factory(jQuery, DataProvider, mangoRest);It logs once for each of these files:
pointValueDataProvider.js
realtimePointValueDataProvider.js
statisticsDataProvider.jsHere is a link to my Javascript code:
Do you have any tips for debugging this?
Thanks,
Jon