Chartjs-How to Add X axis Padding in chart js Line Graph

2👍

From the fiddle you provided, A tricky way will be to push in $scope.labels and $scope.data a null in first position:

$scope.labels.unshift('');
$scope.data[0].unshift(null);
$scope.data[1].unshift(null);

A start you had:

enter image description here

And you will have:

enter image description here

Leave a comment