You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The POI library does not support creating anchors on sheets that are absolutely positioned, but only the TwoCellAnchor. This is an issue because the workaround to #7 requires us to remove the charts from the sheets and reinsert them later. We avoid this problem for chartsheets by simply leaving them in place, but if there's an absolute anchor on a worksheet, we don't have much choice but to throw an exception.
As far as I can tell, this happens when you copy a chart from a chart sheet to a work sheet, but there may be other ways to get into this situation as well. The workaround would be to recreate the chart from scratch on the worksheet (but maybe just resizing it would work - I didn't try that).
One approach to resolving this might be to simply create an equivalent TwoCellAnchor to the AbsoluteAnchor. Another way would be as a side product of #28.
The text was updated successfully, but these errors were encountered:
The POI library does not support creating anchors on sheets that are absolutely positioned, but only the TwoCellAnchor. This is an issue because the workaround to #7 requires us to remove the charts from the sheets and reinsert them later. We avoid this problem for chartsheets by simply leaving them in place, but if there's an absolute anchor on a worksheet, we don't have much choice but to throw an exception.
As far as I can tell, this happens when you copy a chart from a chart sheet to a work sheet, but there may be other ways to get into this situation as well. The workaround would be to recreate the chart from scratch on the worksheet (but maybe just resizing it would work - I didn't try that).
One approach to resolving this might be to simply create an equivalent TwoCellAnchor to the AbsoluteAnchor. Another way would be as a side product of #28.
The text was updated successfully, but these errors were encountered: