I met a strange issue. I can’t see the line chart when open the web page. Then I resize the window/browser, the line chart then can be seen and works well. The question is: why a resize is needed to see the chart?
I suppose it is related to the getJSON, because if I put the data directly into html (instead of reading from json file) it can always work well. 🙂