Package org.krysalis.jcharts.nonAxisChart

Examples of org.krysalis.jcharts.nonAxisChart.PieChart3D


    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, 500, 400 );


    super.encode( pieChart, "pie3d" );
  }
View Full Code Here


    String[] labels= { "BMW M5", "BMW M3", "Viper GTS-R", "Corvette Z06" };
    Paint[] paints= { Color.lightGray, Color.green, Color.blue, Color.red };

    PieChartDataSet pieChartDataSet= new PieChartDataSet( "Cars That Own", data, labels, paints, pieChart3DProperties );

    PieChart3D pieChart3D= new PieChart3D( pieChartDataSet, new LegendProperties(), new ChartProperties(), 600, 350 );
    super.exportImage( pieChart3D, name );
  }
View Full Code Here

    double[] data= { 81d, 55d, 39d, 20.6d };
    String[] labels= { "BMW M5", "BMW M3", "Viper GTS-R", "Audi S6" };
    Paint[] paints= { Color.lightGray, Color.green, Color.blue, Color.red };

    PieChartDataSet pieChartDataSet= new PieChartDataSet( "Cars That Own", data, labels, paints, pieChart3DProperties );
    PieChart3D pieChart3D= new PieChart3D( pieChartDataSet, null, new ChartProperties(), 400, 350 );
    super.exportImage( pieChart3D, "pieChart3DLegendLabels" );
  }
View Full Code Here

    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 );
    //PieChart2D pieChart = new PieChart2D( pieChartDataSet, legendProperties, chartProperties, 400, 300 );

    ChartTestDriver.exportImage( pieChart, "pie3d.png" );
  }
View Full Code Here

    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 );
    //PieChart2D pieChart = new PieChart2D( pieChartDataSet, legendProperties, chartProperties, 400, 300 );

    ChartTestDriver.exportImage( pieChart, "pie3d.png" );
  }
View Full Code Here

TOP

Related Classes of org.krysalis.jcharts.nonAxisChart.PieChart3D

Copyright © 2018 www.massapicom. 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.