Examples of JRBubblePlot


Examples of net.sf.jasperreports.charts.JRBubblePlot

   */
  public JRBaseBubblePlot(JRChartPlot plot, JRChart chart)
  {
    super(plot, chart);
   
    JRBubblePlot bubblePlot = plot instanceof JRBubblePlot ? (JRBubblePlot)plot : null;
    if (bubblePlot == null)
    {
      xAxisLabelFont = new JRBaseFont(chart, null);
      xAxisTickLabelFont = new JRBaseFont(chart, null);
      yAxisLabelFont = new JRBaseFont(chart, null);
      yAxisTickLabelFont = new JRBaseFont(chart, null);
    }
    else
    {
      xAxisLabelFont = new JRBaseFont(chart, bubblePlot.getXAxisLabelFont());
      xAxisTickLabelFont = new JRBaseFont(chart, bubblePlot.getXAxisTickLabelFont());
      yAxisLabelFont = new JRBaseFont(chart, bubblePlot.getYAxisLabelFont());
      yAxisTickLabelFont = new JRBaseFont(chart, bubblePlot.getYAxisTickLabelFont());
    }
  }
View Full Code Here

Examples of net.sf.jasperreports.charts.JRBubblePlot

         false);

    configureChart(jfreeChart);

    XYPlot xyPlot = (XYPlot)jfreeChart.getPlot();
    JRBubblePlot bubblePlot = (JRBubblePlot)getPlot();
    int scaleType = bubblePlot.getScaleTypeValue() == null ? ScaleTypeEnum.ON_RANGE_AXIS.getValue() : bubblePlot.getScaleTypeValue().getValue();
    XYBubbleRenderer bubbleRenderer = new XYBubbleRenderer( scaleType );
    xyPlot.setRenderer( bubbleRenderer );

    // Handle the axis formating for the category axis
    configureAxis(xyPlot.getDomainAxis(), bubblePlot.getXAxisLabelFont(),
        bubblePlot.getXAxisLabelColor(), bubblePlot.getXAxisTickLabelFont(),
        bubblePlot.getXAxisTickLabelColor(), bubblePlot.getXAxisTickLabelMask(), bubblePlot.getXAxisVerticalTickLabels(),
        bubblePlot.getXAxisLineColor(), false,
        (Comparable)evaluateExpression(bubblePlot.getDomainAxisMinValueExpression()),
        (Comparable)evaluateExpression(bubblePlot.getDomainAxisMaxValueExpression()));

    // Handle the axis formating for the value axis
    configureAxis(xyPlot.getRangeAxis(), bubblePlot.getYAxisLabelFont(),
        bubblePlot.getYAxisLabelColor(), bubblePlot.getYAxisTickLabelFont(),
        bubblePlot.getYAxisTickLabelColor(), bubblePlot.getYAxisTickLabelMask(), bubblePlot.getYAxisVerticalTickLabels(),
        bubblePlot.getYAxisLineColor(), true,
        (Comparable)evaluateExpression(bubblePlot.getRangeAxisMinValueExpression()),
        (Comparable)evaluateExpression(bubblePlot.getRangeAxisMaxValueExpression()));

    return jfreeChart;
  }
View Full Code Here

Examples of net.sf.jasperreports.charts.JRBubblePlot

         false);

    configureChart(jfreeChart, getPlot());

    XYPlot xyPlot = (XYPlot)jfreeChart.getPlot();
    JRBubblePlot bubblePlot = (JRBubblePlot)getPlot();
    int scaleType = bubblePlot.getScaleTypeValue() == null ? ScaleTypeEnum.ON_RANGE_AXIS.getValue() : bubblePlot.getScaleTypeValue().getValue();
    XYBubbleRenderer bubbleRenderer = new XYBubbleRenderer( scaleType );
    xyPlot.setRenderer( bubbleRenderer );

    // Handle the axis formating for the category axis
    configureAxis(xyPlot.getDomainAxis(), bubblePlot.getXAxisLabelFont(),
        bubblePlot.getXAxisLabelColor(), bubblePlot.getXAxisTickLabelFont(),
        bubblePlot.getXAxisTickLabelColor(), bubblePlot.getXAxisTickLabelMask(), bubblePlot.getXAxisVerticalTickLabels(),
        bubblePlot.getOwnXAxisLineColor(), false,
        (Comparable)evaluateExpression(bubblePlot.getDomainAxisMinValueExpression()),
        (Comparable)evaluateExpression(bubblePlot.getDomainAxisMaxValueExpression()));

    // Handle the axis formating for the value axis
    configureAxis(xyPlot.getRangeAxis(), bubblePlot.getYAxisLabelFont(),
        bubblePlot.getYAxisLabelColor(), bubblePlot.getYAxisTickLabelFont(),
        bubblePlot.getYAxisTickLabelColor(), bubblePlot.getYAxisTickLabelMask(), bubblePlot.getYAxisVerticalTickLabels(),
        bubblePlot.getOwnYAxisLineColor(), true,
        (Comparable)evaluateExpression(bubblePlot.getRangeAxisMinValueExpression()),
        (Comparable)evaluateExpression(bubblePlot.getRangeAxisMaxValueExpression()));

    return jfreeChart;
  }
View Full Code Here

Examples of net.sf.jasperreports.charts.JRBubblePlot

         false);

    configureChart(jfreeChart, getPlot());

    XYPlot xyPlot = (XYPlot)jfreeChart.getPlot();
    JRBubblePlot bubblePlot = (JRBubblePlot)getPlot();
    int scaleType = bubblePlot.getScaleTypeValue() == null ? ScaleTypeEnum.ON_RANGE_AXIS.getValue() : bubblePlot.getScaleTypeValue().getValue();
    XYBubbleRenderer bubbleRenderer = new XYBubbleRenderer( scaleType );
    xyPlot.setRenderer( bubbleRenderer );

    // Handle the axis formating for the category axis
    configureAxis(xyPlot.getDomainAxis(), bubblePlot.getXAxisLabelFont(),
        bubblePlot.getXAxisLabelColor(), bubblePlot.getXAxisTickLabelFont(),
        bubblePlot.getXAxisTickLabelColor(), bubblePlot.getXAxisTickLabelMask(), bubblePlot.getXAxisVerticalTickLabels(),
        bubblePlot.getOwnXAxisLineColor(), getDomainAxisSettings(),
        (Comparable)evaluateExpression(bubblePlot.getDomainAxisMinValueExpression()),
        (Comparable)evaluateExpression(bubblePlot.getDomainAxisMaxValueExpression())
        );

    // Handle the axis formating for the value axis
    configureAxis(xyPlot.getRangeAxis(), bubblePlot.getYAxisLabelFont(),
        bubblePlot.getYAxisLabelColor(), bubblePlot.getYAxisTickLabelFont(),
        bubblePlot.getYAxisTickLabelColor(), bubblePlot.getYAxisTickLabelMask(), bubblePlot.getYAxisVerticalTickLabels(),
        bubblePlot.getOwnYAxisLineColor(), getRangeAxisSettings(),
        (Comparable)evaluateExpression(bubblePlot.getRangeAxisMinValueExpression()),
        (Comparable)evaluateExpression(bubblePlot.getRangeAxisMaxValueExpression())
        );
   
    return jfreeChart;
  }
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.