问题
I need to separate chart Data in file HTML to file JSON and poster the chart and the table result --
thanks
回答1:
When angular is running in the browser, the json file will be located in the server. You will need to do a angular $http.get to get the data into your angular controller. set the received data in your controller and feed it to your chart.
来源:https://stackoverflow.com/questions/42174833/separate-json-data-from-html-to-json-file