Opened 10 years ago

Closed 10 years ago

#9963 closed defect (fixed)

[patch] Chart2D updateSeries() fails for charts with undefined axes

Reported by: dstarke Owned by: Eugene Lazutkin
Priority: high Milestone: 1.4
Component: Charting Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

I observed this problem in a chart with two series plotted using the Columns plotter, with a y axis defined, but no x axis defined. The chart renders fine to start, but if you call updateSeries() on one of the series, the call fails with the error that the variable "axis" is not defined in the function _invalidateDependentPlots().

I am attaching a simple patch that appears to resolve the issue in my application.

Attachments (1)

fixChartingUpdateSeries.diff (470 bytes) - added by dstarke 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by dstarke

comment:1 Changed 10 years ago by Eugene Lazutkin

Milestone: tbd1.4
Status: newassigned
Summary: Chart2D updateSeries() fails for charts with undefined axes[patch] Chart2D updateSeries() fails for charts with undefined axes

comment:2 Changed 10 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [20322]) dojox.charting: fixing an oversight, thx dstarke!, !strict, fixes #9963.

Note: See TracTickets for help on using tickets.