score:5

set max tick in chart option, for example:

this.chartoption.scales.yaxes[0].ticks.max = math.max(...chartdata3.datasets[0].data) * 1.2

score:31

you need to set padding to display the labels properly. also, adjust the canvas width and height to account for padding so that your chart doesn't get too small.

options: {        
    layout: {
        padding: {
            left: 50,
            right: 50,
            top: 50,
            bottom: 50
        }
    }
}

Related Query

More Query from same tag