All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.dynamicreports.report.base.chart.plot.DRSpiderPlot Maven / Gradle / Ivy

Go to download

DynamicReports is an open source Java reporting library based on JasperReports. It allows to create dynamic report designs and it doesn't need a visual report designer. You can very quickly create reports and produce documents that can be displayed, printed or exported into many popular formats such as PDF, Excel, Word and others.

The newest version!
/*
 * DynamicReports - Free Java reporting library for creating reports dynamically
 *
 * Copyright (C) 2010 - 2018 Ricardo Mariaca and the Dynamic Reports Contributors
 *
 * This file is part of DynamicReports.
 *
 * DynamicReports is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * DynamicReports is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with DynamicReports. If not, see .
 */
package net.sf.dynamicreports.report.base.chart.plot;

import net.sf.dynamicreports.report.base.style.DRFont;
import net.sf.dynamicreports.report.constant.Constants;
import net.sf.dynamicreports.report.constant.SpiderRotation;
import net.sf.dynamicreports.report.constant.TableOrder;
import net.sf.dynamicreports.report.definition.chart.plot.DRISpiderPlot;
import net.sf.dynamicreports.report.definition.expression.DRIExpression;

import java.awt.Color;

/**
 * 

DRSpiderPlot class.

* * @author Ricardo Mariaca * */ public class DRSpiderPlot implements DRISpiderPlot { private static final long serialVersionUID = Constants.SERIAL_VERSION_UID; private DRIExpression maxValueExpression; private SpiderRotation rotation; private TableOrder tableOrder; private Boolean webFilled; private Double startAngle; private Double headPercent; private Double interiorGap; private Color axisLineColor; private Float axisLineWidth; private DRFont labelFont; private Double labelGap; private Color labelColor; /** {@inheritDoc} */ @Override public DRIExpression getMaxValueExpression() { return maxValueExpression; } /** *

Setter for the field maxValueExpression.

* * @param maxValueExpression a {@link net.sf.dynamicreports.report.definition.expression.DRIExpression} object. */ public void setMaxValueExpression(DRIExpression maxValueExpression) { this.maxValueExpression = maxValueExpression; } /** {@inheritDoc} */ @Override public SpiderRotation getRotation() { return rotation; } /** *

Setter for the field rotation.

* * @param rotation a {@link net.sf.dynamicreports.report.constant.SpiderRotation} object. */ public void setRotation(SpiderRotation rotation) { this.rotation = rotation; } /** {@inheritDoc} */ @Override public TableOrder getTableOrder() { return tableOrder; } /** *

Setter for the field tableOrder.

* * @param tableOrder a {@link net.sf.dynamicreports.report.constant.TableOrder} object. */ public void setTableOrder(TableOrder tableOrder) { this.tableOrder = tableOrder; } /** {@inheritDoc} */ @Override public Boolean getWebFilled() { return webFilled; } /** *

Setter for the field webFilled.

* * @param webFilled a {@link java.lang.Boolean} object. */ public void setWebFilled(Boolean webFilled) { this.webFilled = webFilled; } /** {@inheritDoc} */ @Override public Double getStartAngle() { return startAngle; } /** *

Setter for the field startAngle.

* * @param startAngle a {@link java.lang.Double} object. */ public void setStartAngle(Double startAngle) { this.startAngle = startAngle; } /** {@inheritDoc} */ @Override public Double getHeadPercent() { return headPercent; } /** *

Setter for the field headPercent.

* * @param headPercent a {@link java.lang.Double} object. */ public void setHeadPercent(Double headPercent) { this.headPercent = headPercent; } /** {@inheritDoc} */ @Override public Double getInteriorGap() { return interiorGap; } /** *

Setter for the field interiorGap.

* * @param interiorGap a {@link java.lang.Double} object. */ public void setInteriorGap(Double interiorGap) { this.interiorGap = interiorGap; } /** {@inheritDoc} */ @Override public Color getAxisLineColor() { return axisLineColor; } /** *

Setter for the field axisLineColor.

* * @param axisLineColor a {@link java.awt.Color} object. */ public void setAxisLineColor(Color axisLineColor) { this.axisLineColor = axisLineColor; } /** {@inheritDoc} */ @Override public Float getAxisLineWidth() { return axisLineWidth; } /** *

Setter for the field axisLineWidth.

* * @param axisLineWidth a {@link java.lang.Float} object. */ public void setAxisLineWidth(Float axisLineWidth) { this.axisLineWidth = axisLineWidth; } /** {@inheritDoc} */ @Override public DRFont getLabelFont() { return labelFont; } /** *

Setter for the field labelFont.

* * @param labelFont a {@link net.sf.dynamicreports.report.base.style.DRFont} object. */ public void setLabelFont(DRFont labelFont) { this.labelFont = labelFont; } /** {@inheritDoc} */ @Override public Double getLabelGap() { return labelGap; } /** *

Setter for the field labelGap.

* * @param labelGap a {@link java.lang.Double} object. */ public void setLabelGap(Double labelGap) { this.labelGap = labelGap; } /** {@inheritDoc} */ @Override public Color getLabelColor() { return labelColor; } /** *

Setter for the field labelColor.

* * @param labelColor a {@link java.awt.Color} object. */ public void setLabelColor(Color labelColor) { this.labelColor = labelColor; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy