Class XYZSeriesCollectionChartDefinition

    • Constructor Detail

      • XYZSeriesCollectionChartDefinition

        public XYZSeriesCollectionChartDefinition​(org.pentaho.platform.api.engine.IPentahoSession session)
      • XYZSeriesCollectionChartDefinition

        public XYZSeriesCollectionChartDefinition​(int chartType,
                                                  org.pentaho.commons.connection.IPentahoResultSet data,
                                                  boolean byRow,
                                                  org.pentaho.platform.api.engine.IPentahoSession session)
      • XYZSeriesCollectionChartDefinition

        public XYZSeriesCollectionChartDefinition​(org.pentaho.commons.connection.IPentahoResultSet data,
                                                  boolean byRow,
                                                  org.dom4j.Node chartAttributes,
                                                  org.pentaho.platform.api.engine.IPentahoSession session)
    • Method Detail

      • getLogger

        public static org.apache.commons.logging.Log getLogger()
      • setChartBackgroundPaint

        public void setChartBackgroundPaint​(Paint chartBackgroundPaint)
        Parameters:
        backgroundPaint - The backgroundPaint to set.
      • getTitleFont

        public Font getTitleFont()
        Return the java.awt.Font to be used to display the dial title
        Specified by:
        getTitleFont in interface ChartDefinition
        Returns:
        Font The Font for the title of this Pie
      • setTitleFont

        public void setTitleFont​(Font titleFont)
      • setTitleFont

        public void setTitleFont​(org.dom4j.Node titleFontNode)
      • getChartType

        public int getChartType()
        Returns:
        Returns the chartType.
      • setChartType

        public void setChartType​(org.dom4j.Node chartTypeNode)
      • setChartType

        public void setChartType​(int chartType)
        Parameters:
        chartType - The chartType to set.
      • isThreeD

        public boolean isThreeD()
        Specified by:
        isThreeD in interface ChartDefinition
        Returns:
        Returns the threeD.
      • setThreeD

        public void setThreeD​(org.dom4j.Node threeDNode)
      • setThreeD

        public void setThreeD​(boolean threeD)
        Parameters:
        threeD - The threeD to set.
      • isStacked

        public boolean isStacked()
        Returns:
        Returns the stacked.
      • setStacked

        public void setStacked​(org.dom4j.Node stackedNode)
      • setStacked

        public void setStacked​(boolean stacked)
        Parameters:
        stacked - The stacked to set.
      • isDomainVerticalTickLabels

        public boolean isDomainVerticalTickLabels()
        Returns:
        Returns the verticalTickLabels.
      • setDomainVerticalTickLabels

        public void setDomainVerticalTickLabels​(org.dom4j.Node domainVerticalTickLabelsNode)
      • setDomainVerticalTickLabels

        public void setDomainVerticalTickLabels​(boolean domainVerticalTickLabels)
        Parameters:
        domainVerticalTickLabels - The domainVerticalLabels to set.
      • isDomainIncludesZero

        public boolean isDomainIncludesZero()
        Returns:
        Returns the domainIncludeZero.
      • setDomainIncludesZero

        public void setDomainIncludesZero​(org.dom4j.Node domainIncludesZeroNode)
      • setDomainIncludesZero

        public void setDomainIncludesZero​(boolean domainIncludesZero)
        Parameters:
        domainIncludesZero - The domainIncludesZero to set.
      • isDomainStickyZero

        public boolean isDomainStickyZero()
        Returns:
        Returns the domainStickyZero.
      • setDomainStickyZero

        public void setDomainStickyZero​(org.dom4j.Node domainStickyZeroNode)
      • setRangeStickyZero

        public void setRangeStickyZero​(boolean rangeStickyZero)
        Parameters:
        rangeStickyZero - The rangeStickyZero to set.
      • isRangeStickyZero

        public boolean isRangeStickyZero()
        Returns:
        Returns the rangeStickyZero.
      • setRangeStickyZero

        public void setRangeStickyZero​(org.dom4j.Node rangeStickyZeroNode)
      • setDomainStickyZero

        public void setDomainStickyZero​(boolean domainStickyZero)
        Parameters:
        domainStickyZero - The domainStickyZero to set.
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface ChartDefinition
        Returns:
        Returns the height.
      • setHeight

        public void setHeight​(org.dom4j.Node heightNode)
      • setHeight

        public void setHeight​(int height)
        Parameters:
        height - The height to set.
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface ChartDefinition
        Returns:
        Returns the width.
      • setWidth

        public void setWidth​(org.dom4j.Node widthNode)
      • setWidth

        public void setWidth​(int width)
        Parameters:
        width - The width to set.
      • getDotHeight

        public int getDotHeight()
        Returns:
        Returns the dot height.
      • setDotHeight

        public void setDotHeight​(org.dom4j.Node heightNode)
      • setDotHeight

        public void setDotHeight​(int height)
        Parameters:
        height - The dot height to set.
      • getDotWidth

        public int getDotWidth()
        Returns:
        Returns the dot width.
      • setDotWidth

        public void setDotWidth​(org.dom4j.Node widthNode)
      • setDotWidth

        public void setDotWidth​(int width)
        Parameters:
        width - The dot width to set.
      • setTitle

        public void setTitle​(org.dom4j.Node chartTitleNode)
      • setTitle

        public void setTitle​(String title)
        Parameters:
        title - The title to set.
      • setPaintSequence

        public void setPaintSequence​(org.dom4j.Node paletteNode)
      • setPaintSequence

        public void setPaintSequence​(Paint[] paintSequence)
        Parameters:
        paintSequence - The paintSequence to set.
      • addSubTitles

        public void addSubTitles​(List subTitleNodes)
      • addSubTitle

        public void addSubTitle​(String subTitle)
      • setChartBackgroundImage

        public void setChartBackgroundImage​(org.dom4j.Node chartBackgroundImageNode)
      • setChartBackgroundImage

        public void setChartBackgroundImage​(Image chartBackgroundImage)
        Parameters:
        chartBackgroundImage - The chartBackgroundImage to set.
      • setLegendIncluded

        public void setLegendIncluded​(org.dom4j.Node legendNode)
      • setLegendIncluded

        public void setLegendIncluded​(boolean legendIncluded)
        Parameters:
        legendIncluded - The legendIncluded to set.
      • setPlotBackgroundPaint

        public void setPlotBackgroundPaint​(Paint plotBackgroundPaint)
      • setPlotBackgroundImage

        public void setPlotBackgroundImage​(org.dom4j.Node plotBackgroundImageNode)
      • setPlotBackgroundImage

        public void setPlotBackgroundImage​(Image plotBackgroundImage)
        Parameters:
        plotBackgroundImage - The plotBackgroundImage to set.
      • getOrientation

        public org.jfree.chart.plot.PlotOrientation getOrientation()
        Returns:
        Returns the orientation.
      • setOrientation

        public void setOrientation​(org.dom4j.Node orientationNode)
      • setOrientation

        public void setOrientation​(org.jfree.chart.plot.PlotOrientation orientation)
        Parameters:
        orientation - The orientation to set.
      • setBorderVisible

        public void setBorderVisible​(org.dom4j.Node borderVisibleNode)
      • setBorderVisible

        public void setBorderVisible​(boolean borderVisible)
        Parameters:
        borderVisible - The borderVisible to set.
      • setBorderPaint

        public void setBorderPaint​(Paint borderPaint)
        Parameters:
        borderPaint - The borderPaint to set.
      • setTitlePosition

        public void setTitlePosition​(org.dom4j.Node titlePositionNode)
      • getTitlePosition

        public org.jfree.ui.RectangleEdge getTitlePosition()
        Specified by:
        getTitlePosition in interface ChartDefinition
        Returns:
        Returns the titlePosition.
      • setTitlePosition

        public void setTitlePosition​(org.jfree.ui.RectangleEdge titlePosition)
        Parameters:
        titlePosition - The titlePosition to set.
      • setLegendPosition

        public void setLegendPosition​(org.dom4j.Node legendPositionNode)
      • setLegendPosition

        public void setLegendPosition​(org.jfree.ui.RectangleEdge legendPosition)
      • setChartBackground

        public void setChartBackground​(org.dom4j.Node chartBackgroundNode)
      • setPlotBackground

        public void setPlotBackground​(org.dom4j.Node plotBackgroundNode)
      • setDomainTitle

        public void setDomainTitle​(org.dom4j.Node titleNode)
      • getDomainTitle

        public String getDomainTitle()
        Returns:
        Returns the domainTitle.
      • setDomainTitle

        public void setDomainTitle​(String domainTitle)
        Parameters:
        domainTitle - The domainTitle to set.
      • isRangeIncludesZero

        public boolean isRangeIncludesZero()
        Returns:
        Returns the domainIncludeZero.
      • setRangeIncludesZero

        public void setRangeIncludesZero​(org.dom4j.Node rangeIncludesZeroNode)
      • setRangeIncludesZero

        public void setRangeIncludesZero​(boolean rangeIncludesZero)
        Parameters:
        domainIncludesZero - The domainIncludesZero to set.
      • setRangeTitle

        public void setRangeTitle​(org.dom4j.Node titleNode)
      • getRangeTitle

        public String getRangeTitle()
        Returns:
        Returns the rangeTitle.
      • setRangeTitle

        public void setRangeTitle​(String rangeTitle)
        Parameters:
        rangeTitle - The rangeTitle to set.
      • setDomainTitleFont

        public void setDomainTitleFont​(org.dom4j.Node titleFontNode)
      • getDomainTitleFont

        public Font getDomainTitleFont()
        Returns:
        Returns the domainTitleFont.
      • setDomainTitleFont

        public void setDomainTitleFont​(Font domainTitleFont)
        Parameters:
        domainTitleFont - The domainTitleFont to set.
      • getDomainTickFont

        public Font getDomainTickFont()
        Return the java.awt.Font to be used to display the range axis tick labels
        Returns:
        Font The Font for the range axis tick labels
      • setDomainTickFont

        public void setDomainTickFont​(Font domainTickFont)
        Parameters:
        domainTickFont - The domainTickFont to set.
      • setDomainTickFont

        public void setDomainTickFont​(org.dom4j.Node rangeTickFontNode)
      • setRangeTitleFont

        public void setRangeTitleFont​(org.dom4j.Node titleFontNode)
      • getRangeTitleFont

        public Font getRangeTitleFont()
        Returns:
        Returns the rangeTitleFont.
      • setRangeTitleFont

        public void setRangeTitleFont​(Font rangeTitleFont)
        Parameters:
        rangeTitleFont - The rangeTitleFont to set.
      • getRangeTickFormat

        public NumberFormat getRangeTickFormat()
        Returns:
        Returns the rangeTickFormat.
      • setRangeTickFormat

        public void setRangeTickFormat​(NumberFormat rangeTickFormat)
        Parameters:
        rangeTickFormat - The range tick number format to set.
      • setRangeTickFormat

        public void setRangeTickFormat​(org.dom4j.Node tickFormatFontNode)
      • getRangeTickFont

        public Font getRangeTickFont()
        Return the java.awt.Font to be used to display the range axis tick labels
        Returns:
        Font The Font for the range axis tick labels
      • setRangeTickFont

        public void setRangeTickFont​(Font rangeTickFont)
        Parameters:
        rangeTitleFont - The rangeTitleFont to set.
      • setRangeTickFont

        public void setRangeTickFont​(org.dom4j.Node rangeTickFontNode)
      • getDomainTickFormat

        public NumberFormat getDomainTickFormat()
        Returns:
        Returns the rangeTickFormat.
      • setDomainTickFormat

        public void setDomainTickFormat​(NumberFormat domainTickFormat)
        Parameters:
        rangeTickFormat - The range tick number format to set.
      • setDomainTickFormat

        public void setDomainTickFormat​(org.dom4j.Node tickFormatFontNode)
      • getSession

        public org.pentaho.platform.api.engine.IPentahoSession getSession()
      • setSession

        public void setSession​(org.pentaho.platform.api.engine.IPentahoSession session)
      • getMaxZValue

        public double getMaxZValue()
        Returns:
        Returns the maximum Z Value.
      • setMaxBubbleSize

        public void setMaxBubbleSize​(org.dom4j.Node maxBubbleSizeNode)
      • getMaxBubbleSize

        public double getMaxBubbleSize()
      • setMaxBubbleSize

        public void setMaxBubbleSize​(double maxBubbleSize)
      • getBubbleLabelContent

        public String getBubbleLabelContent()
      • setBubbleLabelContent

        public void setBubbleLabelContent​(org.dom4j.Node bubbleLabelContentNode)
      • setBubbleLabelContent

        public void setBubbleLabelContent​(String bubblelabelContent)
        Parameters:
        bubbleLabelContent - Definition of the bubble labels' content. e.g. "{0}: ({1}, {2}, {3})" {0} = series name {1} = x value {2} = y value {3} = z value
      • setXFormat

        public void setXFormat​(org.dom4j.Node bubblelabelXFormat)
        Parameters:
        bubbleLabelContent - Definition of the bubble labels' x value number format. e.g. "#,##0.0#" or "#,##0.00 EUR" or "##0.00 %"
      • setXFormat

        public void setXFormat​(NumberFormat format)
      • setYFormat

        public void setYFormat​(org.dom4j.Node bubblelabelYFormat)
        Parameters:
        bubbleLabelContent - Definition of the bubble labels' y value number format. e.g. "#,##0.0#" or "#,##0.00 EUR" or "##0.00 %"
      • setYFormat

        public void setYFormat​(NumberFormat format)
      • setZFormat

        public void setZFormat​(org.dom4j.Node bubblelabelZFormat)
        Parameters:
        bubbleLabelContent - Definition of the bubble labels' z value number format. e.g. "#,##0.0#" or "#,##0.00 EUR" or "##0.00 %"
      • setZFormat

        public void setZFormat​(NumberFormat format)
      • getLegendFont

        public Font getLegendFont()
        Return the java.awt.Font to be used to display the legend items
        Specified by:
        getLegendFont in interface ChartDefinition
        Returns:
        Font The font for the legend items
      • setLegendFont

        public void setLegendFont​(Font legendFont)
        Set java.awt.Font to be used to display the legend items
        Parameters:
        Font - The java.awt.Font for the legend items
      • setLegendFont

        public void setLegendFont​(org.dom4j.Node legendFontNode)
      • setLegendBorderVisible

        public void setLegendBorderVisible​(org.dom4j.Node legendBorderVisibleNode)
      • setLegendBorderVisible

        public void setLegendBorderVisible​(boolean legendBorderVisible)
        Parameters:
        boolean - legendBorderVisible Set the visibility of the legend border.
      • isLegendBorderVisible

        public boolean isLegendBorderVisible()
        Return the boolen that states if the legend border is visible
        Specified by:
        isLegendBorderVisible in interface ChartDefinition
        Returns:
        boolean Is the legend border visible
      • getRangeMinimum

        public double getRangeMinimum()
        Return the range axis' minimum value
        Returns:
        double Range axis' minimum value
      • setRangeMinimum

        public void setRangeMinimum​(org.dom4j.Node rangeMinimumNode)
      • setRangeMinimum

        public void setRangeMinimum​(double rangeMinimum)
        Parameters:
        double - rangeMinimum Set the minimum value of the range axis.
      • getRangeMaximum

        public double getRangeMaximum()
        Return the range axis' maximum value
        Returns:
        double Range axis' maximum value
      • setRangeMaximum

        public void setRangeMaximum​(org.dom4j.Node rangeMaximumNode)
      • setRangeMaximum

        public void setRangeMaximum​(double rangeMaximum)
        Parameters:
        double - rangeMaximum Set the maximum value of the range axis.
      • getDomainMinimum

        public double getDomainMinimum()
        Return the domain axis' minimum value
        Returns:
        double domain axis' minimum value
      • setDomainMinimum

        public void setDomainMinimum​(org.dom4j.Node domainMinimumNode)
      • setDomainMinimum

        public void setDomainMinimum​(double domainMinimum)
        Parameters:
        double - domainMinimum Set the minimum value of the domain axis.
      • getDomainMaximum

        public double getDomainMaximum()
        Return the domain axis' maximum value
        Returns:
        double domain axis' maximum value
      • setDomainMaximum

        public void setDomainMaximum​(org.dom4j.Node domainMaximumNode)
      • setDomainMaximum

        public void setDomainMaximum​(double domainMaximum)
        Parameters:
        double - domainMaximum Set the maximum value of the domain axis.
      • setBackgroundAlpha

        public void setBackgroundAlpha​(org.dom4j.Node backgroundAlphaNode)
      • setForegroundAlpha

        public void setForegroundAlpha​(org.dom4j.Node foregroundAlphaNode)