'use strict';

var ChordView = require('./ChordView.js');
var ChordSeries = require('./ChordSeries.js');
var chordLayout = require('./chordLayout.js');
var dataFilter = require('../../processor/dataFilter.js');

function install(registers) {
  registers.registerChartView(ChordView.default);
  registers.registerSeriesModel(ChordSeries.default);
  registers.registerLayout(registers.PRIORITY.VISUAL.POST_CHART_LAYOUT, chordLayout.default);
  // Add data filter processor
  registers.registerProcessor(dataFilter.default('chord'));
}

exports.install = install;
