This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Small changes to DrSkippy's code. Turns graph horizontal. Makes margins smaller. | |
// Original (https://gist.github.com/4057438) Blog (http://blog.drskippy.com/2012/11/11/age-visualization/) | |
import java.util.*; | |
import java.text.*; | |
int boxSize = 5; // pixel size of month representation | |
int boxSpacing = 4; // vertical and horizontal spacing | |
int decadeSpacing = 2*boxSpacing; // extra space between decades | |
int markerOverhang = 18; |