Point name and how to learn more?
-
Hi guy,
I am reading the document of Mango V3 and V4, I find something like this:
<ma-point-values point="point1" values="point1Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}"> </ma-point-values>
And also like this:
<md-button class="md-raised md-accent md-hue-3" ng-click="dateBar.preset ='DAY_SO_FAR'"> TODAY </md-button>
What is datebar.from and datebar.to call? There should be a list of them, right?
And how can we know about something like 'DAY_SO_FAR'?
I think I read it somewhere. I tried Mango Javascript but I cannot find them. -
@tungthanh500 said in Point name and how to learn more?:
What is datebar.from and datebar.to call?
It is the from and to date that you select in the top tool bar (the date picker).
@tungthanh500 said in Point name and how to learn more?:
And how can we know about something like 'DAY_SO_FAR'?
Enable the "API Docs" menu item, then look at
maDateRangePicker
under "Components". -
@jared-wiltshire
Thank you for your explaination. Can you be more specific about "datebar.to" and what is it in mango? I mean, there should be something like "myPoint.value" to show/assign a point value or "myDevice.name" to show the device name.