diff --git a/app/src/main/java/com/ericsson/uecontrol/gui/fragments/StatusFragment.java b/app/src/main/java/com/ericsson/uecontrol/gui/fragments/StatusFragment.java index cf96cde..899938f 100755 --- a/app/src/main/java/com/ericsson/uecontrol/gui/fragments/StatusFragment.java +++ b/app/src/main/java/com/ericsson/uecontrol/gui/fragments/StatusFragment.java @@ -62,14 +62,15 @@ public class StatusFragment extends Fragment { upGraph = new GraphViewSeries("Upload Throughput", new GraphViewSeriesStyle(Color.RED, 3), new GraphViewData[]{new GraphViewData(0, 0)}); - LineGraphView graphView = new LineGraphView(this.getActivity(), "GraphViewDemo"); + LineGraphView graphView = new LineGraphView(this.getActivity(), "GraphView"); graphView.addSeries(downGraph); graphView.addSeries(upGraph); //graphView.setDrawDataPoints(true); - graphView.setScrollable(true); graphView.setViewPort(0, 120); + graphView.setScrollable(true); graphView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); graphView.getGraphViewStyle().setGridStyle(GraphViewStyle.GridStyle.BOTH); + graphView.setShowVerticalLabels(false); LinearLayout layout = (LinearLayout) view.findViewById(R.id.graph); layout.addView(graphView);