Esempio n. 1
0
  protected JRFillChartPlot(JRChartPlot plot, JRFillObjectFactory factory) {
    factory.put(plot, this);

    parent = plot;

    chart = (JRChart) factory.getVisitResult(plot.getChart());
  }
Esempio n. 2
0
  public Object clone() {
    JRBaseChart clone = (JRBaseChart) super.clone();

    clone.lineBox = lineBox.clone(clone);

    if (hyperlinkParameters != null) {
      clone.hyperlinkParameters = new JRHyperlinkParameter[hyperlinkParameters.length];
      for (int i = 0; i < hyperlinkParameters.length; i++) {
        clone.hyperlinkParameters[i] = (JRHyperlinkParameter) hyperlinkParameters[i].clone();
      }
    }

    if (titleExpression != null) {
      clone.titleExpression = (JRExpression) titleExpression.clone();
    }
    if (subtitleExpression != null) {
      clone.subtitleExpression = (JRExpression) subtitleExpression.clone();
    }
    if (anchorNameExpression != null) {
      clone.anchorNameExpression = (JRExpression) anchorNameExpression.clone();
    }
    if (hyperlinkReferenceExpression != null) {
      clone.hyperlinkReferenceExpression = (JRExpression) hyperlinkReferenceExpression.clone();
    }
    if (hyperlinkAnchorExpression != null) {
      clone.hyperlinkAnchorExpression = (JRExpression) hyperlinkAnchorExpression.clone();
    }
    if (hyperlinkPageExpression != null) {
      clone.hyperlinkPageExpression = (JRExpression) hyperlinkPageExpression.clone();
    }
    if (hyperlinkTooltipExpression != null) {
      clone.hyperlinkTooltipExpression = (JRExpression) hyperlinkTooltipExpression.clone();
    }

    if (dataset != null) {
      clone.dataset = (JRChartDataset) dataset.clone();
    }
    if (plot != null) {
      clone.plot = (JRChartPlot) plot.clone(clone);
    }

    return clone;
  }
Esempio n. 3
0
 public Float getBackgroundAlphaFloat() {
   return parent.getBackgroundAlphaFloat();
 }
Esempio n. 4
0
 public PlotOrientationEnum getOrientationValue() {
   return parent.getOrientationValue();
 }
Esempio n. 5
0
 public Color getOwnBackcolor() {
   return parent.getOwnBackcolor();
 }
Esempio n. 6
0
 /**
  * Returns a list of all the defined series colors. Every entry in the list is of type
  * JRChartPlot.JRSeriesColor. If there are no defined series colors this method will return an
  * empty list, not null.
  */
 public SortedSet<JRSeriesColor> getSeriesColors() {
   return parent.getSeriesColors();
 }
Esempio n. 7
0
 /** @deprecated Replaced by {@link JRCategoryAxisFormat#getCategoryAxisTickLabelRotation()}. */
 public Double getLabelRotationDouble() {
   return parent.getLabelRotationDouble();
 }
Esempio n. 8
0
 public Float getForegroundAlphaFloat() {
   return parent.getForegroundAlphaFloat();
 }