【发布时间】:2016-11-30 04:53:31
【问题描述】:
我将交叉过滤器与多个图表结合使用dc.js。
用环形图过滤时,折线图中的数据消失,但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")
【问题讨论】:
标签: javascript d3.js dc.js crossfilter