package EnsEMBL::Web::ImageConfig::Vkaryotype;
use strict;
use warnings;
no warnings 'uninitialized';

use base qw(EnsEMBL::Web::ImageConfig);

sub init {
  my ($self) = @_;

  $self->set_parameters({
    'title'         => 'Karyotype panel',
    'label'         => 'below',     # margin
    'band_labels'   => 'off',
    'top_margin'    => 5,
    'band_links'    => 'no',
    'all_chromosomes' => 'yes'
  });

  $self->create_menus( 
    'ideogram' => 'Ideogram', # N.B. Karyotype not currently configurable
    'user_data'  => 'User attached data', # DAS/URL tracks/uploaded data/blast responses
   );

  $self->add_tracks( 'ideogram',
    [ 'drag_left', '', 'Vdraggable', { 'display' => 'normal', 'part' => 0, 'menu' => 'no' } ],
    [ 'Videogram', 'Ideogram', 'Videogram', {
      'display'    => 'normal',
      'renderers'  => [qw(normal normal)],
      'width'      => 12,
      'totalwidth' => 18,
      'padding'    => 6,
      'colourset'  => 'ideogram'
    } ],
    [ 'drag_right', '', 'Vdraggable', { 'display' => 'normal', 'part' => 1, 'menu' => 'no' } ],
  );

}

1;