简体   繁体   中英

Refresh in C3.js doesn't work

I'm trying to use $interval function in C3.js to refresh bar chart with new value

$interval(function() {
    $scope.chart.load({
      columns: ["England", 5]
    });
  }, 1000);

but the value isn't displayed after interval function execution. Here is the plunker

列是数组的数组-因此双方括号

      columns: [["England", 5]]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM