0

Having an issue with the angular-chart.js it does display the grid lines even beyond the chart last point.enter image description here

you can see the grid drawn even after the last point.

Sheetal
  • 1,368
  • 1
  • 9
  • 15

1 Answers1

0

Finally got a solution:

Added margin to the class chart-container, need to add this class in angular-chart.css

.chart-container {
    margin-right:22px;
}

Also ensure canvas has the below class which sets the chart width to 100%

.chartWidth {
width:100% !important;
}
Sheetal
  • 1,368
  • 1
  • 9
  • 15