Hi,
I am trying to use plotly with angular 2 and it is showing me an empty bar graph initially and it only shows me the graph when i double click on the graph area.
My code sequence is:
- Call api for data to be plotted.
- set data x and y variables
- plotly.plot
How do I make the graph load after the page loaded without clicking on the graph?
Thanks,