Chartjs-Chartjs create scrolling on the x axis

1👍

You could include the canvas inside a div element.

<div>
  <canvas id="chartJSContainer" height="10"></canvas>
</div>    

and add the following definition to your CSS file.

div {
  width: 10000px;
}

Please have a look at https://jsfiddle.net/f48evmyh/

Leave a comment