Hello,

I have created a Reactive Web app which just shows a chart on the page's content area. No other content.

Requirement is to create the chart which must be responsive by both height and width, so it fits the screen even if orientation changes on mobile/tablet from landscape to portrait and vice versa.

I have a chart inside a container, and made the container's height responsive to resize to screen's height. Chart is responsive only by width, but height is same as what we set in the chart's property.

Found a forge component "Orientation Event" to capture orientation on change and change the chart's height property dynamically but this forge component only supports mobile app.

Anyone have faced similar situation and resolved it? Any recommendations would be really helpful.

Thanks,

Karthik




Hi Karthik,

What kind of application are you developing? Reactive or Traditional?


Rafael Fantato wrote:

Hi Karthik,

What kind of application are you developing? Reactive or Traditional?


Hi Rafael, Sorry, I wrongly typed as responsive app. it's reactive app. Updated my actual post description too.