我正在使用cubism.js显示我的数据,但是我的数据没有上限,否则我的数据会发生很大的变化。
请帮帮我!
div.append("div")
.attr("class", "horizon")
.call(context.horizon()
.height(240)
.mode("offset")
.colors(["#08519c","#3182bd"])
.title("QPS")
.extent([0, ???]));发布于 2016-02-04 13:57:42
您可能希望尝试使用Number.MAX_VALUE:
div.append("div")
.attr("class", "horizon")
.call(context.horizon()
.height(240)
.mode("offset")
.colors(["#08519c","#3182bd"])
.title("QPS")
.extent([0, Number.MAX_VALUE]));https://stackoverflow.com/questions/29249139
复制相似问题