public BioharnesViewer(API caller) {
this.api = caller;
charts = new GoogleChart[6];
charts[0] = new GoogleLineGraph(PrototypeFactory.heart, "BPM", Color.RED);
charts[1] = new GoogleLineGraph(PrototypeFactory.respiration, "BPM", Color.ORANGE);
charts[2] = new GoogleLineGraph(PrototypeFactory.temperature, "C", Color.BROWN);
charts[3] = new GoogleLineGraph(PrototypeFactory.posture, "degrees", Color.PURPLE);
charts[4] = new GoogleLineGraph(PrototypeFactory.beat, "seq#", Color.ORANGERED);
charts[5] = new GoogleLineGraph(PrototypeFactory.connection, "sec", Color.FORESTGREEN);
// now build a tabbed frame for the charts
frame = new TabbedFrame(charts);
}