Package com.googlecode.charts4j

Examples of com.googlecode.charts4j.RadarPlot.addShapeMarker()


        final RadarPlot plot1 = Plots.newRadarPlot(DataUtil.scale(x), Color.newColor("3D5593"));
        plot1.setFillAreaColor(Color.newColor("8FA3D6"));
        final RadarPlot plot2 = Plots.newRadarPlot(Data.newData(x1));
        plot2.setFillAreaColor(Color.newColor("3D5593"));
        for (int i = 0; i < count; i = i + 20) {
            plot2.addShapeMarker(Shape.CIRCLE, PINK, 20, i);
        }
        final RadarChart chart = GCharts.newRadarChart(plot1, plot2);
        chart.setBackgroundFill(Fills.newSolidFill(Color.newColor("504227")));
        chart.setSpline(true);
        chart.setDataEncoding(DataEncoding.SIMPLE);
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.