Opened 9 years ago
Closed 9 years ago
#14639 closed enhancement (fixed)
dojox.charting examples for dojo 1.7
Reported by: | olandere | Owned by: | cjolif |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Documentation | Version: | 1.7.1 |
Keywords: | Cc: | cjolif | |
Blocked By: | Blocking: |
Description
The charting examples in the reference documentation should be updated for dojo 1.7. Here is the update for the first example:
<script type="text/javascript">
require(["dojo/ready",
"dojox/charting/Chart2D", "dojox/charting/themes/Wetland"],
function (ready) {
ready(function () {
var c = new dojox.charting.Chart2D("chartOne"); c.addPlot("default", {type:"StackedAreas", tension:3})
.addAxis("x", {fixLower:"major", fixUpper:"major"}) .addAxis("y", {vertical:true, fixLower:"major", fixUpper:"major", min:0}) .setTheme(dojox.charting.themes.Wetland) .addSeries("Series A", [1, 2, 0.5, 1.5, 1, 2.8, 0.4]) .addSeries("Series B", [2.6, 1.8, 2, 1, 1.4, 0.7, 2]) .addSeries("Series C", [6.3, 1.8, 3, 0.5, 4.4, 2.7, 2]) .render();
});
}
);
</script>
I'm willing to port the other examples if no one else is already doing that.
Change History (4)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Cc: | cjolif added |
---|
comment:3 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|---|
Owner: | set to cjolif |
Status: | new → assigned |
comment:4 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Your help is very much appreciated and needed!
Please, come joining to Dojo: http://dojotoolkit.org/get-involved http://dojofoundation.org/about/cla http://livedocs.dojotoolkit.org http://github.com/dojo/docs
Most of the conversation of updating docs is currently at github.com/dojo/docs. Thanks!