# プッシュデータフィード

const config = {
  type: 'line',
  data: data,
  plugins: [
    {
      start: start,
      stop: stop
    }
  ],
  options: {
    scales: {
      x: {
        type: 'realtime',
        realtime: {
          duration: 20000,
          delay: 2000
        }
      },
      y: {
        title: {
          display: true,
          text: '値'
        }
      }
    },
    interaction: {
      intersect: false
    }
  }
};