【发布时间】:2010-12-16 22:24:53
【问题描述】:
var vis = new pv.Panel().canvas('grphLangSpeakers').height(langCount*(barWidth+barGap)).width(canvasWidth)
.add(pv.Bar)
.data(popCountArray)
.bottom(0).width(function(d){ return d})
.height(barWidth)
.top(function() {return this.index * (barGap+barWidth)});
vis.render();
我正在使用上面的代码使用 Protovis 生成条形图。如何将此图表更改为对数刻度?
【问题讨论】:
标签: javascript data-visualization protovis