title: How to add panning to chart in chartjs?
body: <p>I have created a bar chart with chartjs. I am also using chartjs-plugin-zoom. I have tried several ways but can’t find a way to add panning functionality to chart. Does anyone know how can I add this?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>var myChart = new Chart(ctx, {
          type: 'bar',
          data: {
                  labels: [1, 2, 3, 4, 5...],
                  datasets: [{
                          label: '# of Votes',
                          data: [12, 19, 3, 5, 2...]
                  }]
          },
          options: {
                  zoom: {
                          enabled: true,
                          mode: 'x',
                  }
          }
  });
  </code></pre>