# Drop

const config = {
  type: 'line',
  data: data,
  options: {
    animations: {
      y: {
        easing: 'easeInOutElastic',
        from: (ctx) => {
          if (ctx.type === 'data') {
            if (ctx.mode === 'default' && !ctx.dropped) {
              ctx.dropped = true;
              return 0;
            }
          }
        }
      }
    },
  },
};

# Docs

Last Updated: 2/28/2024, 4:43:58 PM