Force fusioncharts rendering outside viewport - export

I have several Fusioncharts on my page and some of them are outside the viewport.
Usually, they render as soon as the user scrolls the page and make them visible.
Now, I have to export all those charts and, so, I need them to be rendered before starting the export process: is there a way to force the rendering without asking the user to scroll the page down?

Well a hack would be to use JavaScript to scroll to bottom and then again to top before exporting.

Related

Need help triggering scrolling when interacting with absolutely positioned element on top of scrollview

Image showing problem triggering scrollview when touching absolute component outside
Please see above photo which describes the issue.
I'm newish to React Native layout and specifically ScrollView.
How can I make it possible for user to touch and drag anywhere on screen to initiate scroll INCLUDING touching on top of this absolute component which is outside of the scrollview?

side content bar material ui

I'm interested in creating a content nav bar, similar to this one
This screenshot is taken from Material UI's site, but I haven't been able to find a component inside the library that resembles it. Is there one? Is there a way repurpose either a Drawer of an App Bar to replicate it?
Thanks
If it’s always visible on the page that is just a normal div really.
Set it up in your component (or wherever your routes are defined) so it is on every page

To make a Material-UI div fixed always visible at the top of the page even when page scroll down

To make a Material-UI Grid or component fixed always visible at the top of the page even when page scroll down.
You can use react-sticky to do this, please check this out React-sticky
Please check this out Dock App Bar to top of window in react material ui, I think this Question is already answered here.

How to enable scrolling in CanvasJS charts on mobile?

I am using the ReactJS version of the CanvasJS library.
I have some charts laid out on the screen such that they take up close to 100% height and width on a mobile device.
When I place my fingers on the chart and drag (in order to scroll down the page), I am unable to scroll. This issue doesn't happen on other parts of the page where I don't have the chart.
Is there any way to get scrolling working properly when touching these charts on mobile?
Figured it out.
I had the CanvasJS component wrapped inside a div component.
This div component had the following CSS attributes applied to it:
overflow-y:auto;
overflow:scroll;
overflow-x:auto;
Once I removed those CSS attributes (which didn't need to be there in the first place) I was able to touch-drag on the chart component on mobile.

App layout not rendering correctly on first run

The app i have built contains header, content body and a footer. And it is locked in landscape orientation and the method is stated in componentDidMount(). However on the first launch on my own physical device, the layout is appearing to be incorrect and missing elements such as the whole footer and the buttons. The sizes of components is not rendering correctly either. I need to Hot reload once to get the correct layout every time. Further reloading will not affect the correctly rendered layout.
May i know what is the cause of the problem?

Resources