private void drawEntry(NameSurferEntry entry, Color entryColor){
		
		int scale = bottomLineY-topLineY;
		
		double[] pointYArray = new double[NDECADES];
		
		for(int i=0;i<NDECADES;i++){
			
			int decadeRank = entry.getRank(decadeArray[i]);
			String label = entry.getName() + " " + decadeRank;
			if(decadeRank == 0){
				GPoint decadePosition = new GPoint(decadeXArray[i],bottomLineY);
				label = label + "*";
				GLabel rankLabel = new GLabel(label, decadePosition.getX(),decadePosition.getY());
				setLabel(rankLabel, entryColor);
				add(rankLabel);
				pointYArray[i] = decadePosition.getY();
			}else{
				GPoint decadePosition = new GPoint(decadeXArray[i], bottomLineY-scale*(1000-decadeRank)/1000);
				GLabel rankLabel = new GLabel(label, decadePosition.getX(),decadePosition.getY());
				pointYArray[i] = decadePosition.getY();
				setLabel(rankLabel, entryColor);
				add(rankLabel);
			}	
			
		}
			for(int i=0;i<NDECADES;i++){
				if(i!= NDECADES -1){
					GLine line =new GLine(decadeXArray[i], pointYArray[i],decadeXArray[i+1],pointYArray[i+1]);
					line.setColor(entryColor);
					add(line);
			}
		}
	}