# Logarithmic Scale

const config = {
  type: 'scatter',
  data: data,
  options: {
    scales: scales,
    plugins: {
      zoom: {
        limits: {
          x: {min: 0.5, max: 2e3, minRange: 100},
          y: {min: -50, max: 10, minRange: 10}
        },
        pan: {
          enabled: true,
          mode: 'xy',
        },
        zoom: {
          wheel: {
            enabled: true
          },
          pinch: {
            enabled: true,
          },
          mode: 'xy',
        },
      }
    },
  }
};
Last Updated: 11/16/2021, 3:06:42 PM