Changed graph fragment to use better syntax, made statdata parcelable