Opened 11 years ago

Closed 11 years ago

#8265 closed defect (wontfix)

Charts only work in first tab of TabContainers

Reported by: smethurst Owned by: Eugene Lazutkin
Priority: high Milestone: tbd
Component: Charting Version: 1.2.3
Keywords: TabContainer Chart Cc:
Blocked By: Blocking:

Description

In FF3, attempting to draw a chart in a tab other than the first one results in bad SVG.

Attachments (1)

chart.html (1.4 KB) - added by smethurst 11 years ago.
Sample html file.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by smethurst

Attachment: chart.html added

Sample html file.

comment:1 Changed 11 years ago by bill

Eugene, maybe you can add a resize() method to the chart widget, to make it redraw? ContentPane calls resize() on child widgets when the tab is selected and made visible. Admittedly, the method name is confusing (would have been better if it were called redraw(), but that's water under the bridge.

comment:2 Changed 11 years ago by Eugene Lazutkin

Status: newassigned

There is resize() method on the chart already. It ... resizes the chart.

comment:3 Changed 11 years ago by Eugene Lazutkin

Resolution: wontfix
severity: majornormal
Status: assignedclosed

@smethurst: Almost all underlying renderers have problems when created and drawn while invisible (e.g., hidden), so it is not supported. Wait till the tab/dialog/accordion/whatever-you-have is visible/current, than draw your chart. Incidentally it reduces the startup time of your web application too.

Note: See TracTickets for help on using tickets.