public void addGraph(final Graph graph){
  if (graph == null) {
    throw new IllegalArgumentException("Graph cannot be null");
  }
  graphs.add(graph);
}

public void addGraph ( final Graph graph ) { if ( graph == null ) { throw new IllegalArgumentException ( "Graph cannot be null" ) ; } graphs . add ( graph ) ; }
add a graph object to bukkitmetrics that represents data for the plugin that should be sent to the backend
