0๐
Try this solution
options : {
scales : {
xAxes : [ {
gridLines : {
display : false
}
} ]
}
}
- Chartjs-Charts.js in Angular 7 โ working with imported time for timeseries
- Chartjs-How to set label in dataPoints chart on javascript?
0๐
I managed to make it work, only after changing the options from chartjsProvider.setOptions like this
ChartJsProvider.setOptions('line',{
segmentShowStroke : false,
elements: { arc: { borderWidth: 0 } , point: {
radius: 0
}},
tooltips:{
enabled:false
},
legend: {
display: false
},
scales: {
yAxes: [
{
display: false,
}
],
xAxes: [
{
display: false,
}
]
}
});
Source:stackexchange.com