I have a multi-axis chart set into a HorizontalSplitPanel. When I resize the panel, the chart doesn’t redraw, but if I resize the browser window it does. Is there a way to force this on the resize of the panel?
I’ve tried requestRepaint() and requestRepaintAll() on my chart panel… wondering if I’m missing something obvious.
FWIW, I have encountered the same issue with Invient (resizing splitpane does change size, but changing browser window does), but not reported it (silly me).
Currently, the chart listens only to window resize event and hence it resizes only when the browser window is resized. However, if you can listen to panel resize event then set width of the chart in panel resize event listener. e.g.
Yes, it would be good if that were so - but I’m not sure a component user should be explicitly setting the size on a parent resize; I just want to say “take 100% of the available space” and be done with ! We don’t do that for any other component, I’m not sure why a graph would be any different.