How to use OlapUtilities


We're in a decision process for this product. I'm testing ignite ui by binding our own data.

During tests, I couln't make pivot grid date range in time intervals like hours, minutes. Here is the snippet I use:

$.ig.OlapUtilities.prototype.getDateHierarchy( "tweetTime", // the source property name 
["month", "date", "hour"], // the date parts for which levels will be generated (optional) 
"Dates", // The name for the hierarchy (optional) 
"Date", // The caption for the hierarchy (optional) 
["Month", "Day", "Hour"], // the captions for the levels (optional) 
"All Periods")

If I add "hour", "minute" strings it fails.

I spend more than 30 minutes and couldn't find in API. Lack of functions like $.ig.OlapUtilities.prototype.getDateHierarchy, $.ig.OlapUtilities.prototype.sumAggregator in documentation is really frustrating.