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 }
};
- Chartjs-How to filter dropdown based on the choice of another dropdown in JS?
- Chartjs-How to implement doughnut ChartJS with CodeIgniter 3 and display data from database
Source:stackexchange.com