Update GraphViewSeries.java

implement checking on the proper array before creating series