Dvt:pieGraph With DYNAMIC_RESIZE Is Not Sized Correctly on Mobile (Doc ID 1607979.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

A webcenter Portal application has a chart displayed on the page.

When viewed in desktop, the chart is displaying perfect.
But in mobile mode, the piegraph with default settings, load ok, but when the orientation has changed, the chart doesn't refresh the size. Trying to insert the piegraph with dynamicResize="DYNAMIC_RESIZE" inside a in af:panelStretchLayout with (and without) the AFStretchWidth as a styleClass... and isn't working as it should.

1 - The pieGraph is inside a panelBox, with all default options, the graph renders ok in mobile, but when the orientation change without refresh all page, the graph doesn't resize.
Setting dynamicResize="DYNAMIC_RESIZE" in pieGraph and the graph render much bigger than necessary, and doesn't resize, even putting it in a panelstretch in jdeveloper.
With default option is less poor than with dynamicResize="DYNAMIC_RESIZE", but It's needed this to refresh the size if the orientation is changed.

2 - The problem occurs in iPhone with iOS6 and iOS7. Even in Responsive mode of Firefox (CTRL+SHIFT+M) the problems is exactly the same.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms