Examples of AxisChartDataSet


Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

    strokes[ 0 ]= new BasicStroke( 3.5f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 5f, new float[]{ 5f, 5f, 10f, 5f}, 4f );
    strokes[ 1 ]= new BasicStroke( 5.0f );
    Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE, null };
    LineChartProperties lineChartProperties= new LineChartProperties( strokes, shapes );

    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.LINE, lineChartProperties );
    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
    LegendProperties legendProperties= new LegendProperties();
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

    Stroke[] strokes= { LineChartProperties.DEFAULT_LINE_STROKE };
    Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE };
    LineChartProperties lineChartProperties= new LineChartProperties( strokes, shapes );

    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.LINE, lineChartProperties );

    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

    double[][] data= TestDataGenerator.getRandomNumbers( 1, 7, 0, 6000 );
    String[] legendLabels= { "Bugs" };
    Paint[] paints= TestDataGenerator.getRandomPaints( 1 );

    AreaChartProperties areaChartProperties= new AreaChartProperties();
    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.AREA, areaChartProperties );

    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

    double[][] data= TestDataGenerator.getRandomNumbers( 3, 7, 0, 5000 );
    String[] legendLabels= { "Bugs", "Security Holes", "Backdoors" };
    Paint[] paints= TestDataGenerator.getRandomPaints( 3 );

    AreaChartProperties areaChartProperties= new AreaChartProperties();
    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.AREA, areaChartProperties );

    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

   ******************************************************************************************/
  DataSeries getDataSeries() throws ChartDataException
  {
    StackedBarChartProperties stackedBarChartProperties;
    DataSeries dataSeries;
    AxisChartDataSet axisChartDataSet;

    int dataSize=(int) TestDataGenerator.getRandomNumber( 1, 30 );
    int numberOfDataSets=(int) TestDataGenerator.getRandomNumber( 1, 5 );


View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet


    double[][] data = {{280, 16, 150, 90, 60, 200, 150, 60 }, {80, 216, 10, 30, 15, 90, 150, 87 } };
    Paint[] paints = {Color.yellow, Color.blue };
    String[] legendLabels = {"Test Legend Label", "second set"};
    AxisChartDataSet axisChartDataSet = new AxisChartDataSet( data, legendLabels, paints, ChartType.BAR_STACKED, stackedBarChartProperties );

    String[] axisLabels = {"1900", "1950", "2000", "2050", "3000", "3050", "4000", "4050" };
    IAxisDataSeries dataSeries = new DataSeries( axisLabels, "Cookies", "Years", null );
    dataSeries.addIAxisPlotDataSet( axisChartDataSet );
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

      double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55  } };
    String[] legendLabels= { "Bugs" };
    Paint[] paints= TestDataGenerator.getRandomPaints( 1 );

    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.BAR, barChartProperties );

    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

      double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55  } };
    String[] legendLabels= { "Bugs" };
    Paint[] paints= new Paint[]{ Color.blue.darker() };
    BarChartProperties barChartProperties= new BarChartProperties();
    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.BAR, barChartProperties );
    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
    LegendProperties legendProperties= new LegendProperties();
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

    valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.AT_TOP );
    valueLabelRenderer.useVerticalLabels( false );
    barChartProperties.addPostRenderEventListener( valueLabelRenderer );


    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.BAR, barChartProperties );
    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties( true );
    LegendProperties legendProperties= new LegendProperties();
View Full Code Here

Examples of org.krysalis.jcharts.chartData.AxisChartDataSet

    //---paints over the background of every other bar area.
    BackgroundRenderer backgroundRenderer = new BackgroundRenderer( new Color( 20, 20, 20, 50 ) );
    barChartProperties.addPreRenderEventListener( backgroundRenderer );

    AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.BAR, barChartProperties );
    dataSeries.addIAxisPlotDataSet( axisChartDataSet );

    ChartProperties chartProperties= new ChartProperties();
    AxisProperties axisProperties= new AxisProperties();
    LegendProperties legendProperties= new LegendProperties();
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.