Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Overriding the dateRangePicker
-
We have been testing and refining our dashboard setup for around three months now and have resolved most of the user feedback.
The biggest and final complaint we have left to resolve is the chart complexity.
All of the users would prefer to have less options in the date range drop down, and no roll up data.
From what I can tell, a good bit of this work is done in the dateBar and dateRangePicker components.
To achieve the goal above, is the best path forward to override the components of the mdAdmin template, or is there a simpler path?
-
Hi Brad,
You can make custom date ranges yourself by using ma-calc.
Here is a post about this problem, look at Jared's post and modify it according to your needs.
http://infiniteautomation.com/forum/topic/2216/how-to-simulate-presetpicker-change-with-buttons/13
About roll up you should look into the documentation I guess in dashboards module.
Path to it:
mango-host(<--change this to the mango hostname)/dashboards/docs/ma-dashboards/ma-point-values
The following is written about the rollup variable:
rollup (optional) string The statistical operation to apply to the values over the given rollup-interval. This will effect the outputted values. Rollup possibilities are: NONE (Default) AVERAGE DELTA MINIMUM MAXIMUM ACCUMULATOR SUM FIRST LAST COUNT INTEGRAL
Thomas
-
Also take a look at the "date pickers and presets" example.