# 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: 12/1/2024, 4:35:13 PM