/**
* add new data points to connection tab. required to see in disconnected state
*/
public void updateConnectionTab() {
GoogleChart connection = charts[charts.length-1];
if(connection.getState().size() < 5 ) return;
if(connection.getName().equals(PrototypeFactory.connection)){
connection.getState().update(api.getDelta());
}
else {
constants.error("can't locate connection tab", this);
constants.shutdown("can't locate connection tab");
}