public void run(){

    	Polygon poly = new Polygon();
    	for(int i = 0; i < points.length; i++){
    		poly.add(new Point(points[i]));
    	}
    	poly.setColor(org.jzy3d.colors.Color.BLUE);
    	System.out.println("Polygon Size:" + poly.size());
        System.out.println("Length of Points: " + points.length);
        Chart chart = new Chart();
        chart.getAxeLayout().setMainColor(org.jzy3d.colors.Color.RED);
        chart.getView().setBackgroundColor(org.jzy3d.colors.Color.WHITE);
        chart.getScene().getGraph().add(poly);
        
        ChartLauncher.openChart(chart);
    }