[Chartjs]-Show X axis on top and bottom in line chart rendered with Chart.js 2.4.0

11👍

This is an old question, but I just had the same problem. Luckily the value of xAxes is an array, so you define multiple axes like this:

xAxes: [
    { position: 'top' },
    { position: 'bottom', ... other definitions here ... }
]

Leave a comment