When my page loads a graph appears but it is empty. The data does not appear until I double click on the graphing area.
Is there a way make sure the graph is showing without having to click on the graph?
My steps in JS are:
- Collect data and store into arrays
- plotly.plot using html id and arrays
My steps in HTML are:
- in header, include the plotly file
- in the body, create empty div with id
- in the body, run the JS code