super(staker.getName()+" ["+staker.getStatTypes()[type]+"]");
this.staker=staker;
this.drawTimescale=isTime;this.count=count;
statType=type;
lineGraph=new LineGraph(staker.getLabels());
getContentPane().setLayout(new BorderLayout());
getContentPane().add(lineGraph,BorderLayout.CENTER);
setSize(400,400);