Chartjs-Angular Chart.js, how to remove series?

0👍

Just set the values to null and hide the tooltips

  var a = $scope.data.pop();
  $scope.data.push(a.map(function() { return null; }))
  $scope.options = { showTooltips: false };

Fiddle – http://jsfiddle.net/rt6zoL4k/

0👍

You just have to set the value of display under legend to false.

$scope.options = {
    legend: { display: false }
};

Leave a comment