Package com.googlecode.charts4j

Examples of com.googlecode.charts4j.VennDiagram.toURLString()


        chart.setTitle("Mr. Venn", WHITE, 16);
        chart.setSize(600, 450);
        chart.setCircleLegends("Set A", "Set B", "Set C");
        chart.setCircleColors(YELLOW, RED, BLUE);
        chart.setBackgroundFill(Fills.newSolidFill(BLACK));
        String url = chart.toURLString();
        // EXAMPLE CODE END. Use this url string in your web or
        // Internet application.
        Logger.getLogger(Logger.GLOBAL_LOGGER_NAME).info(url);
        String expectedString = "http://chart.apis.google.com/chart?cht=v&chs=600x450&chts=FFFFFF,16&chf=bg,s,000000&chco=FFFF00,FF0000,0000FF&chdl=Set+A|Set+B|Set+C&chd=e:..zMmZTNTNTNGa&chtt=Mr.+Venn";
        assertEquals("Junit error", normalize(expectedString), normalize(url));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.