1
我正在使用多个图表的交叉过滤器与dc.js
的组合。dc.js x轴不刷新
使用环状图进行过滤时,线图中的数据会消失,但x轴保持不变并且不会刷新。
var tempLineChartt1 = dc.lineChart("#chart-line-temp-t1");
tempLineChartt1
.width(768)
.height(480)
.elasticX(true)
.x(d3.time.scale().domain([dateDim.bottom(1)[0].dd,dateDim.top(1)[0].dd]))
.elasticX(true)
.dimension(dateDim)
.group(iotmPerDate)
.renderArea(true)
.brushOn(false)
.renderDataPoints(true)
.clipPadding(10)
.yAxisLabel("T1")
也许这个问题被回答了很多次,但我搜索了这个解决方案的日子。非常感谢你,非常感谢! – joshuatree69