gavioto / clientsidegchart

Automatically exported from code.google.com/p/clientsidegchart
0 stars 2 forks source link

GChart stays visible after clicking on divider in a SmartGWT layout #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. write source code below:
        graph = new GChart(650, 400)
        graphCanvas = new WidgetCanvas(graph);
        graphCanvas.setAutoWidth();

        chartPanel = new Canvas();
        chartPanel.setShowResizeBar(true);
        chartPanel.setRedrawOnResize(true);
        chartPanel.setOverflow(com.smartgwt.client.types.Overflow.HIDDEN);
        chartPanel.addChild(graphCanvas);
        chartPanel.setHeight("*");
        contentPanel.addMember(chartPanel);     
        clusterDetailsPanel.setHeight("30%");
        contentPanel.addMember(detailsPanel);
                contentPanel.show();

2. Click on the divider between the gchart and the details panel.
3. Notice that the gchart contents are not hidden when the details panel is 
"maximized".  See the before and after screenshot.  The border that I clicked 
is shown in the before picture.

What is the expected output? What do you see instead?
I expect to see the gchart contents to be hidden when the details panel is 
maximized like that.

What version of the product are you using? On what operating system?
Using gchart v 2.6.7614, on Windows 7.
I have seen the problem on both IE8 and FF3.6

Please provide any additional information below.

I saw the thread about gchart and smartGWT regarding handling events on a tab 
with gchart.setVisibile(..) calls, but that doesn't apply to this situation.  
There is no way for me to intercept the event of clicking on the resizing bar 
on the chartPanel object.  I've tried both the ClickHandler, and the 
DragResizeMoveHandler and neither intercept this single mouse click on the 
border

Original issue reported on code.google.com by m00...@gmail.com on 18 Jan 2011 at 1:51

Attachments: