start date/time: 1 Jan 2014 10:30:00 end date/time: 1 Jan 2014 14:30:00 step: every 5 minutes plot values provided
function myMetrics(name) {
return context.metric(function(start,stop,step,callback){
var values = [];
console.log("start = " + start);
console.log("stop = " + stop);
return values;
}
- Can this be done using Cubism.js?
- How do I set the start and end time range? - tried scale context.scale.domain([format.parse("2015-03-18 10:30:00").getTime(), format.parse("2015-03-18 13:30:00").getTime()]); myMetrics function shown above prints different start and end date
- How can this be done?