I'm trying to implement highcharts in AngularJS project. The chart executes properly with the static data. With dynamic data (data recieved via AJAX call) it's not working at all. I'm looking for an example of HighCharts with dynamic data in AngularJS.
我正在尝试在AngularJS项目中实现highcharts。图表可以使用静态数据正确执行。对于动态数据(通过AJAX调用收到的数据),它根本不起作用。我正在寻找AngularJS中包含动态数据的HighCharts示例。
1 个解决方案
#1
0
First: verify that your ajax call returns data correctly encoded. Second: make sure you call .chart() in your callback.
首先:验证您的ajax调用返回正确编码的数据。第二:确保在回调中调用.chart()。
#1
0
First: verify that your ajax call returns data correctly encoded. Second: make sure you call .chart() in your callback.
首先:验证您的ajax调用返回正确编码的数据。第二:确保在回调中调用.chart()。