I'm making a bar chart using Chartjs in my AngularJS application. I'm able to render the chart, however, I'm not able to find a way to show the value of each bar on top of it. The solutions I found were for Angular apps and not for AngularJs apps.
Here is my canvas tag :
My JS file code:
$scope.labels = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July'];
$scope.data = [[75, 63, 59, 79, 13, 91, 113]];
$scope.ColorBar = ['#90EE90', '#FF6600'];
$scope.DataSetOverride = [{ yAxisID: 'y-axis-1' }];
$scope.options = {
legend: { display: true },
responsive: true,
scales: {
yAxes: [
{
id: 'y-axis-1',
type: 'linear',
display: true,
position: 'left'
}]
}
}