[Chartjs]-Change axes position in line chart

1👍

You have wrong brackets. And you don’t need an additional axis, just change the position of the one you have.

            options: {
                scales: {
                    yAxes: [{
                            position: 'right',
                            gridLines: {
                                display: false
                            }
                    }],
                    xAxes: [{
                            gridLines: {
                                display: false
                            }
                    }]
                }
            }

Leave a comment