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 INTEGRALThomas
-
Also take a look at the "date pickers and presets" example.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login