I use this library: Dimensional Charting to create some relatively standard charts that need CrossFilter functionality.
I follow examples, but they do not work for me.
Here is my code:
var dashData = crossfilter(data.report), dataByHour = dashData.dimension(function(d){ return d3.time.hour(new Date(d.timestamp))}), totalByHour = dataByHour.group().reduceSum(function(d) { return d.amount }), dc.barChart("#graphTimeOverview") .width(990)
I know that cross-filter data is working correctly, here is an example group:
totalByHour: [ {key:(new Date(1361746800000)), value:6170.17}, {key:(new Date(1361678400000)), value:3003}, {key:(new Date(1361581200000)), value:2350.42}, {key:(new Date(1361667600000)), value:1636.19}, etc... ]
Unfortunately, all this gives me an empty graph, it seems that it calculates the y axis correctly, so it seems to me that it can read data, however I never see any column values:

source share