Opened 14 years ago
Closed 14 years ago
#2582 closed defect (wontfix)
chart widget: range declaration ignored (dojo-0.4.2rc2-ajax)
Reported by: | guest | Owned by: | Tom Trenka |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Charting | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
explicit axis range declaration appear to be ignored
a minor modification to src/widget/svg/chart.js should fix the problem
in function postCreate:function ()
bRangeX and bRangeY should be replaced by ranges.rangeX and ranges.rangeY
the resulting code block is
if (table) {
var ranges = this.parseProperties(table); var axisValues = this.parseData(table); if (!ranges.rangeX) {
this.properties.axes.x.range = {min:axisValues.x.min, max:axisValues.x.max};
} if (!ranges.rangeY) {
this.properties.axes.y.range = {min:axisValues.y.min, max:axisValues.y.max};
} this.setAxesPlot(table); this.domNode.removeChild(table);
}
Best Regards Claudio Silvestri
Change History (2)
comment:1 Changed 14 years ago by
Component: | Widgets → Charting |
---|---|
Owner: | changed from bill to Tom Trenka |
comment:2 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Going to close this ticket; those particular widgets are being dropped.