dojo charting

[/color][color=blue] 从功能上来说总体还算可以,能满足基本需要.我使用的是1.20(自制压缩版),貌似最新版本内还带有动态Tooltip功能,效果还可以.

以下都为自制1.20DOJO下的dijit.tree:


第一根X,Y轴
var chartNseJs=new dojox.charting.Chart2D("chartNseDiv");
chartNseJs.addPlot("default", {type: "Lines"});

chartNseJs.addAxis("x", {htmlLabels: false, fixLower: "major", fixUpper: "major", includeZero: true,min: 0, max: 1100,  minorTickStep: 50,majorTickStep: 100});

chartNseJs.addAxis("y", {htmlLabels: false, vertical: true, fixLower: "major", fixUpper: "major",  minorTickStep: 10,majorTickStep: 20, includeZero: true,min: -140, max:0});

chartNseJs.addAxis("other y", {vertical: true, leftBottom: false});
chartNseJs.addSeries("NSE", [], {stroke:{color: "red"},fill: "lightred"});

chartNseJs.render();





第二根X,Y轴



一图三线


你可能感兴趣的:(dojo)