// Config
Config cfg = new Config(); // separate class 'config' is defined in another tab

// data matrices
int[][][] gDataMatrices = null; //initializing
int       gMaxValue     = 0;



// mysql
MySQL msql = null;

//bars
int gnBarsLeft   = 120;
int gnBarsTop    = 80;
int gnBarsWidth  = 9;
int gnBarsHeight = 57;
int gnBarsHSpace = 1;
int gnBarsVSpace = 2;

// event: mouse rollover
boolean[][][] gpBarsMouseEvent = null;
int           gnPrevY = -1;
int           gnPrevYearIdx = -1;
int           gnPrevMonthIdx = -1;


// files
String [] gFilenames = {
  "Naruto",
  "Bleach", 
  "One Piece", 
  "Fairy Tail", 
  "Dengeki Daisy", 
  "Skip Beat", 
  "Vampire Knight", 
  "Black Bird", 
  "Soul Eater",// change to soul eater ("D Gray Man")
  "Rosariovampire" 
 }; 

// strings (to be displayed in figure)
String[] months = {
  "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};

// font
PFont   gFont1   = null;
PFont   gFont2   = null;
PFont   gFont3   = null;

