Opened 13 years ago

Closed 12 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

claudio.silvestri@…

Change History (2)

comment:1 Changed 12 years ago by bill

Component: WidgetsCharting
Owner: changed from bill to Tom Trenka

comment:2 Changed 12 years ago by Tom Trenka

Resolution: wontfix
Status: newclosed

Going to close this ticket; those particular widgets are being dropped.

Note: See TracTickets for help on using tickets.