import { use } from '../../extension.mjs';
import ScatterSeriesModel from './ScatterSeries.mjs';
import ScatterView from './ScatterView.mjs';
import { install as install$1 } from '../../component/grid/installSimple.mjs';
import pointsLayout from '../../layout/points.mjs';
import jitterLayout from './jitterLayout.mjs';

function install(registers) {
  // In case developer forget to include grid component
  use(install$1);
  registers.registerSeriesModel(ScatterSeriesModel);
  registers.registerChartView(ScatterView);
  registers.registerLayout(pointsLayout('scatter'));
}
function installScatterJitter(registers) {
  registers.registerLayout(registers.PRIORITY.VISUAL.POST_CHART_LAYOUT, jitterLayout);
}

export { install, installScatterJitter };
