how remove error while using variable "la" in scatter chart? : \\GPS coordinates obtain
    @Override
            public void onLocationChanged(Location location) {


                location.getLatitude();
                location.getLongitude();
                location.getAltitude();
                location.getAccuracy();
                double la,lo,al,aq;
                location.setLatitude(la= location.getLatitude());
                location.setLatitude(lo=location.getLongitude());
                location.setLatitude(al=location.getAltitude());
                location.setLatitude(aq = location.getAccuracy());

                textView.append("\n"+la);
\\plotting "la" value in scatter chart
                ScatterChart scatterChart =(ScatterChart) findViewById(R.id.chart);
        List<ChartData> values = new ArrayList<>();
        float longi = (float) la;


        values.add(new ChartData(4f, 6f));
        values.add(new ChartData(10f, 10f));


        scatterChart.setData(values);
        scatterChart.setGesture(true);
        scatterChart.setDescription("Location");