Examples of PieChartDataSet


Examples of org.krysalis.jcharts.chartData.PieChartDataSet

    LegendProperties legendProperties = new LegendProperties();
    legendProperties.setPlacement( LegendAreaProperties.RIGHT );
    legendProperties.setNumColumns( 1 );
    //legendProperties.setBorderStroke( null );

    PieChartDataSet pieChartDataSet = new PieChartDataSet( "Investment Categories", data, labels, paints, pieChart3DProperties );

    ChartProperties chartProperties = new ChartProperties();
    chartProperties.setBorderStroke( ChartStroke.DEFAULT_CHART_OUTLINE );

    PieChart3D pieChart = new PieChart3D( pieChartDataSet, legendProperties, chartProperties, 600, 200 );
View Full Code Here

Examples of org.krysalis.jcharts.chartData.PieChartDataSet

    public void saveChart(File file) throws IOException, PropertyException, ChartDataException {
        Color[] poleBarev = Arrays.copyOfRange(COLORS, 0, legendLabels.length);
        PieChart2DProperties properties = new PieChart2DProperties();
        if (showChartLabels)
            properties.setPieLabelType(PieLabelType.VALUE_LABELS);
        PieChartDataSet dataset = new PieChartDataSet(title, data, legendLabels, poleBarev, properties);
        LegendProperties legend = new LegendProperties();
        legend.setNumColumns(1);
        ChartProperties chartProperties = new ChartProperties();
        chartProperties.setUseAntiAliasing(true);
        PieChart2D chart = new PieChart2D(dataset, legend, chartProperties, width, height);
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.