public void addDataToGraph(double [] accValues, int nBuckets, String name)
{
Vector values = new Vector(nBuckets);
for(int i=0; i<nBuckets; i++)
{
GraphItem temp = new GraphItem("",
(int)(accValues[i]*100),
Color.black);
values.add(temp);
}
logger.info("Sending "+values.size()+" elements to graph");