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.
- [Chartjs]-React chartjs 2 – Type 'string' is not assignable to type '"timeseries"'
- [Chartjs]-How can I datalabels and Sum display in the same time on a stacked bar
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>
Source:stackexchange.com