[Chartjs]-Remove gridlines in AngularCharts

5👍

you can apply below option to remove grid lines.This works for me.

$scope.options = {
            scales: {
                xAxes: [{
                    gridLines: {
                        display: false
                    }
        }],
                yAxes: [{
                    gridLines: {
                        display: false
                    }
        }]
            }
        };

Thanks.

0👍

The problem is in the html:

Remove the options="{showTooltips: false}" to chart-options="options"

<canvas id="line" class="chart chart-line" data="datax2" labels="labelsx2" legend="true" series="seriesx2" chart-options="options"></canvas>

Leave a comment