我可以使用 gRaphael 来显示折线图,但是工具提示有问题。工具提示仅针对某些列显示,而不是所有列。不知道是不是数据太多的问题,不过207列应该不会太差吧。画布尺寸为 900x300。以下是示例代码....任何帮助将不胜感激!
谢谢,
var r = Raphael('lgraph');
//Some code here to prep dates, x, prep ccp, ctr, searchp arrays
var linec = r.linechart(10,10,900,300,x,[ccp,ctr,searchp],
{ nostroke: false,
axis: "0 0 1 1",
symbol: "circle",
axisxlabels: dates,
axisxtype: " ",
smooth: true })
linec.hoverColumn(function () {
this.popups = r.set();
for (var i = 0, ii = this.y.length; i < ii; i++) {
this.popups.push(r.popup(this.x, this.y[i], this.values[i]).insertBefore(this));
}
}, function () {
this.popups && this.popups.remove();
});
linec.symbols.attr({ r: 3 });