public BorderPane initiateGraph(String graphTitle, String seriesTitle, String xAxisString, String yAxisString, double xTick, double yTick, int switchInt){
        this.switchInt = switchInt;
        
        xAxis = new NumberAxis(xAxisString, xLowerBoundInitial, xUpperBoundInitial, xTick);
        xAxis.setAutoRanging(false);
        
        yAxis = new NumberAxis(yAxisString, yLowerBoundInitial, yUpperBoundInitial, yTick); 
        yAxis.setAutoRanging(false);
               
        //--CHART
        graph = new LineChart<Number, Number>(xAxis, yAxis) {};
        
        xAxis.setAnimated(false);
        yAxis.setAnimated(false);
        graph.setCreateSymbols(false);
        graph.setAnimated(true);
        //sc.setId("liveAreaChart");
        graph.setTitle(graphTitle);
        
        //--CHART SERIES
        series = new LineChart.Series<>();
        series.setName(seriesTitle);
        graph.getData().add(series);
        
        pane.setCenter(graph);
        
        return pane;
    }