org.pentaho.platform.uifoundation.chart
Class XYSeriesCollectionChartDefinition

java.lang.Object
  extended by org.jfree.data.general.AbstractDataset
      extended by org.jfree.data.general.AbstractSeriesDataset
          extended by org.jfree.data.xy.AbstractXYDataset
              extended by org.jfree.data.xy.AbstractIntervalXYDataset
                  extended by org.jfree.data.xy.XYSeriesCollection
                      extended by org.pentaho.platform.uifoundation.chart.XYSeriesCollectionChartDefinition
All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, EventListener, org.jfree.data.DomainInfo, org.jfree.data.general.Dataset, org.jfree.data.general.SeriesChangeListener, org.jfree.data.general.SeriesDataset, org.jfree.data.xy.IntervalXYDataset, org.jfree.data.xy.XYDataset, ChartDefinition, XYChartDefinition

public class XYSeriesCollectionChartDefinition
extends org.jfree.data.xy.XYSeriesCollection
implements XYChartDefinition

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.pentaho.platform.uifoundation.chart.XYChartDefinition
CHART_BORDER_PAINT_NODE_NAME, DOMAIN_INCLUDES_ZERO_NODE_NAME, DOMAIN_MAXIMUM_NODE_NAME, DOMAIN_MINIMUM_NODE_NAME, DOMAIN_PERIOD_TYPE_NODE_NAME, DOMAIN_STICKY_ZERO_NODE_NAME, DOMAIN_TICK_FONT_NODE_NAME, DOMAIN_TICK_FORMAT_NODE_NAME, DOMAIN_TITLE_FONT_NODE_NAME, DOMAIN_TITLE_NODE_NAME, DOMAIN_VERTICAL_TICK_LABELS_NODE_NAME, ORIENTATION_NODE_NAME, RANGE_INCLUDES_ZERO_NODE_NAME, RANGE_MAXIMUM_NODE_NAME, RANGE_MINIMUM_NODE_NAME, RANGE_STICKY_ZERO_NODE_NAME, RANGE_TICK_FONT_NODE_NAME, RANGE_TICK_FORMAT_NODE_NAME, RANGE_TITLE_FONT_NODE_NAME, RANGE_TITLE_NODE_NAME, TOOLTIP_CONTENT_NODE_NAME, TOOLTIP_X_FORMAT_NODE_NAME, TOOLTIP_Y_FORMAT_NODE_NAME
 
Fields inherited from interface org.pentaho.platform.uifoundation.chart.ChartDefinition
AREA_CHART_STR, BACKGROUND_ALPHA_NODE_NAME, BACKGROUND_TYPE_ATTRIBUTE_NAME, BAR_CHART_STR, BAR_LINE_CHART_STR, BUBBLE_CHART_STR, CATEGORY_DATASET_STR, CHART_BACKGROUND_NODE_NAME, CHART_BORDER_VISIBLE_NODE_NAME, COLOR_NODE_NAME, COLOR_TYPE_NAME, DATASET_TYPE_NODE_NAME, DAY_PERIOD_TYPE_STR, DIAL_CHART_STR, DIFFERENCE_CHART_STR, DISPLAY_LABELS_NODE_NAME, DISPLAY_LEGEND_BORDER_NODE_NAME, DOT_CHART_STR, DOT_HEIGHT_NODE_NAME, DOT_WIDTH_NODE_NAME, FIXEDMILLISECOND_PERIOD_TYPE_STR, FOREGROUND_ALPHA_NODE_NAME, GRADIENT_TYPE_NAME, HEIGHT_NODE_NAME, HORIZONTAL_ORIENTATION, HOUR_PERIOD_TYPE_STR, IMAGE_TYPE_NAME, INCLUDE_LEGEND_NODE_NAME, LEGEND_FONT_NODE_NAME, LEGEND_POSITION_NODE_NAME, LINE_CHART_STR, LINE_STYLE_DASH_STR, LINE_STYLE_DASHDOT_STR, LINE_STYLE_DASHDOTDOT_STR, LINE_STYLE_DOT_STR, LINE_STYLE_NODE_NAME, LINE_STYLE_SOLID_STR, LINE_WIDTH_NODE_NAME, MARKER_VISIBLE_NODE_NAME, MILLISECOND_PERIOD_TYPE_STR, MINUTE_PERIOD_TYPE_STR, MONTH_PERIOD_TYPE_STR, PALETTE_NODE_NAME, PIE_CHART_STR, PIE_GRID_CHART_STR, PLOT_BACKGROUND_NODE_NAME, QUARTER_PERIOD_TYPE_STR, SECOND_PERIOD_TYPE_STR, STACKED_NODE_NAME, STEP_AREA_CHART_STR, STEP_CHART_STR, SUBTITLE_NODE_NAME, SUBTITLES_NODE_NAME, TEXTURE_TYPE_NAME, THREED_NODE_NAME, TIME_SERIES_COLLECTION_STR, TITLE_FONT_NODE_NAME, TITLE_NODE_NAME, TITLE_POSITION_NODE_NAME, TYPE_NODE_NAME, VERTICAL_ORIENTATION, WEEK_PERIOD_TYPE_STR, WIDTH_NODE_NAME, XY_SERIES_COLLECTION_STR, XYZ_SERIES_COLLECTION_STR, YEAR_PERIOD_TYPE_STR
 
Constructor Summary
XYSeriesCollectionChartDefinition(int chartType, org.pentaho.commons.connection.IPentahoResultSet data, boolean byRow, IPentahoSession session)
           
XYSeriesCollectionChartDefinition(org.pentaho.commons.connection.IPentahoResultSet data, boolean byRow, org.dom4j.Node chartAttributes, IPentahoSession session)
           
XYSeriesCollectionChartDefinition(IPentahoSession session)
           
 
Method Summary
 void addSubTitle(String subTitle)
           
 void addSubTitles(List subTitleNodes)
           
 Float getBackgroundAlpha()
           
 Paint getBorderPaint()
           
 Image getChartBackgroundImage()
           
 Paint getChartBackgroundPaint()
           
 int getChartType()
           
static int getChartType(String typeStr)
           
 double getDomainMaximum()
          Return the domain axis' maximum value
 double getDomainMinimum()
          Return the domain axis' minimum value
 Font getDomainTickFont()
          Return the java.awt.Font to be used to display the range axis tick labels
 NumberFormat getDomainTickFormat()
           
 String getDomainTitle()
           
 Font getDomainTitleFont()
           
 int getDotHeight()
           
 int getDotWidth()
           
 Float getForegroundAlpha()
           
 int getHeight()
           
 Font getLegendFont()
          Return the java.awt.Font to be used to display the legend items
 org.jfree.ui.RectangleEdge getLegendPosition()
           
 String getLineStyle()
           
 float getLineWidth()
           
static org.apache.commons.logging.Log getLogger()
           
 String getNoDataMessage()
           
 org.jfree.chart.plot.PlotOrientation getOrientation()
           
 Paint[] getPaintSequence()
           
 Image getPlotBackgroundImage()
           
 Paint getPlotBackgroundPaint()
           
 double getRangeMaximum()
          Return the range axis' maximum value
 double getRangeMinimum()
          Return the range axis' minimum value
 Font getRangeTickFont()
          Return the java.awt.Font to be used to display the range axis tick labels
 NumberFormat getRangeTickFormat()
           
 String getRangeTitle()
           
 Font getRangeTitleFont()
           
 IPentahoSession getSession()
           
 List getSubtitles()
           
 String getTitle()
           
 Font getTitleFont()
          Return the java.awt.Font to be used to display the dial title
 org.jfree.ui.RectangleEdge getTitlePosition()
           
 String getTooltipContent()
           
 String getTooltipXFormat()
           
 String getTooltipYFormat()
           
 int getWidth()
           
 boolean isBorderVisible()
           
 boolean isDisplayLabels()
           
 boolean isDomainIncludesZero()
           
 boolean isDomainStickyZero()
           
 boolean isDomainVerticalTickLabels()
           
 boolean isLegendBorderVisible()
          Return the boolen that states if the legend border is visible
 boolean isLegendIncluded()
           
 boolean isMarkersVisible()
           
 boolean isRangeIncludesZero()
           
 boolean isRangeStickyZero()
           
 boolean isStacked()
           
 boolean isThreeD()
           
 void setBackgroundAlpha(org.dom4j.Node backgroundAlphaNode)
           
 void setBorderPaint(Paint borderPaint)
           
 void setBorderVisible(boolean borderVisible)
           
 void setBorderVisible(org.dom4j.Node borderVisibleNode)
           
 void setChartBackground(org.dom4j.Node chartBackgroundNode)
           
 void setChartBackgroundImage(Image chartBackgroundImage)
           
 void setChartBackgroundImage(org.dom4j.Node chartBackgroundImageNode)
           
 void setChartBackgroundPaint(Paint chartBackgroundPaint)
           
 void setChartType(int chartType)
           
 void setChartType(org.dom4j.Node chartTypeNode)
           
 void setDomainIncludesZero(boolean domainIncludesZero)
           
 void setDomainIncludesZero(org.dom4j.Node domainIncludesZeroNode)
           
 void setDomainMaximum(double domainMaximum)
           
 void setDomainMaximum(org.dom4j.Node domainMaximumNode)
           
 void setDomainMinimum(double domainMinimum)
           
 void setDomainMinimum(org.dom4j.Node domainMinimumNode)
           
 void setDomainStickyZero(boolean domainStickyZero)
           
 void setDomainStickyZero(org.dom4j.Node domainStickyZeroNode)
           
 void setDomainTickFont(Font domainTickFont)
           
 void setDomainTickFont(org.dom4j.Node rangeTickFontNode)
           
 void setDomainTickFormat(org.dom4j.Node tickFormatFontNode)
           
 void setDomainTickFormat(NumberFormat domainTickFormat)
           
 void setDomainTitle(org.dom4j.Node titleNode)
           
 void setDomainTitle(String domainTitle)
           
 void setDomainTitleFont(Font domainTitleFont)
           
 void setDomainTitleFont(org.dom4j.Node titleFontNode)
           
 void setDomainVerticalTickLabels(boolean domainVerticalTickLabels)
           
 void setDomainVerticalTickLabels(org.dom4j.Node domainVerticalTickLabelsNode)
           
 void setDotHeight(int height)
           
 void setDotHeight(org.dom4j.Node heightNode)
           
 void setDotWidth(int width)
           
 void setDotWidth(org.dom4j.Node widthNode)
           
 void setForegroundAlpha(org.dom4j.Node foregroundAlphaNode)
           
 void setHeight(int height)
           
 void setHeight(org.dom4j.Node heightNode)
           
 void setLegendBorderVisible(boolean legendBorderVisible)
           
 void setLegendBorderVisible(org.dom4j.Node legendBorderVisibleNode)
           
 void setLegendFont(Font legendFont)
          Set java.awt.Font to be used to display the legend items
 void setLegendFont(org.dom4j.Node legendFontNode)
           
 void setLegendIncluded(boolean legendIncluded)
           
 void setLegendIncluded(org.dom4j.Node legendNode)
           
 void setLegendPosition(org.dom4j.Node legendPositionNode)
           
 void setLegendPosition(org.jfree.ui.RectangleEdge legendPosition)
           
 void setLineStyle(org.dom4j.Node lineStyleNode)
           
 void setLineStyle(String lineStyle)
           
 void setLineWidth(float lineWidth)
           
 void setLineWidth(org.dom4j.Node lineWidthNode)
           
 void setMarkersVisible(boolean markersVisible)
           
 void setMarkersVisible(org.dom4j.Node markersVisibleNode)
           
 void setOrientation(org.dom4j.Node orientationNode)
           
 void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
           
 void setPaintSequence(org.dom4j.Node paletteNode)
           
 void setPaintSequence(Paint[] paintSequence)
           
 void setPlotBackground(org.dom4j.Node plotBackgroundNode)
           
 void setPlotBackgroundImage(Image plotBackgroundImage)
           
 void setPlotBackgroundImage(org.dom4j.Node plotBackgroundImageNode)
           
 void setPlotBackgroundPaint(Paint plotBackgroundPaint)
           
 void setRangeIncludesZero(boolean rangeIncludesZero)
           
 void setRangeIncludesZero(org.dom4j.Node rangeIncludesZeroNode)
           
 void setRangeMaximum(double rangeMaximum)
           
 void setRangeMaximum(org.dom4j.Node rangeMaximumNode)
           
 void setRangeMinimum(double rangeMinimum)
           
 void setRangeMinimum(org.dom4j.Node rangeMinimumNode)
           
 void setRangeStickyZero(boolean rangeStickyZero)
           
 void setRangeStickyZero(org.dom4j.Node rangeStickyZeroNode)
           
 void setRangeTickFont(Font rangeTickFont)
           
 void setRangeTickFont(org.dom4j.Node rangeTickFontNode)
           
 void setRangeTickFormat(org.dom4j.Node tickFormatFontNode)
           
 void setRangeTickFormat(NumberFormat rangeTickFormat)
           
 void setRangeTitle(org.dom4j.Node titleNode)
           
 void setRangeTitle(String rangeTitle)
           
 void setRangeTitleFont(Font rangeTitleFont)
           
 void setRangeTitleFont(org.dom4j.Node titleFontNode)
           
 void setSession(IPentahoSession session)
           
 void setStacked(boolean stacked)
           
 void setStacked(org.dom4j.Node stackedNode)
           
 void setThreeD(boolean threeD)
           
 void setThreeD(org.dom4j.Node threeDNode)
           
 void setTitle(org.dom4j.Node chartTitleNode)
           
 void setTitle(String title)
           
 void setTitleFont(Font titleFont)
           
 void setTitleFont(org.dom4j.Node titleFontNode)
           
 void setTitlePosition(org.dom4j.Node titlePositionNode)
           
 void setTitlePosition(org.jfree.ui.RectangleEdge titlePosition)
           
 void setTooltipContent(org.dom4j.Node node)
           
 void setTooltipContent(String tooltipContent)
           
 void setTooltipXFormat(org.dom4j.Node node)
           
 void setTooltipXFormat(String tooltipXFormat)
           
 void setTooltipYFormat(org.dom4j.Node node)
           
 void setTooltipYFormat(String tooltipYFormat)
           
 void setWidth(int width)
           
 void setWidth(org.dom4j.Node widthNode)
           
 
Methods inherited from class org.jfree.data.xy.XYSeriesCollection
addSeries, clone, equals, getDomainBounds, getDomainLowerBound, getDomainUpperBound, getEndX, getEndY, getIntervalPositionFactor, getIntervalWidth, getItemCount, getSeries, getSeries, getSeries, getSeriesCount, getSeriesKey, getStartX, getStartY, getX, getY, hashCode, indexOf, isAutoWidth, removeAllSeries, removeSeries, removeSeries, setAutoWidth, setIntervalPositionFactor, setIntervalWidth
 
Methods inherited from class org.jfree.data.xy.AbstractIntervalXYDataset
getEndXValue, getEndYValue, getStartXValue, getStartYValue
 
Methods inherited from class org.jfree.data.xy.AbstractXYDataset
getDomainOrder, getXValue, getYValue
 
Methods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChanged
 
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, getGroup, hasListener, removeChangeListener, setGroup, validateObject
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jfree.data.xy.IntervalXYDataset
getEndXValue, getEndYValue, getStartXValue, getStartYValue
 
Methods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getXValue, getYValue
 
Methods inherited from interface org.jfree.data.general.SeriesDataset
indexOf
 
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 

Constructor Detail

XYSeriesCollectionChartDefinition

public XYSeriesCollectionChartDefinition(IPentahoSession session)

XYSeriesCollectionChartDefinition

public XYSeriesCollectionChartDefinition(int chartType,
                                         org.pentaho.commons.connection.IPentahoResultSet data,
                                         boolean byRow,
                                         IPentahoSession session)

XYSeriesCollectionChartDefinition

public XYSeriesCollectionChartDefinition(org.pentaho.commons.connection.IPentahoResultSet data,
                                         boolean byRow,
                                         org.dom4j.Node chartAttributes,
                                         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)

getChartBackgroundPaint

public Paint getChartBackgroundPaint()
Specified by:
getChartBackgroundPaint in interface ChartDefinition
Returns:
Returns the backgroundPaint.

getChartType

public int getChartType()
Returns:
Returns the chartType.

getChartType

public static int getChartType(String typeStr)

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)

setDomainStickyZero

public void setDomainStickyZero(boolean domainStickyZero)
Parameters:
domainStickyZero - The domainStickyZero 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.

isRangeStickyZero

public boolean isRangeStickyZero()
Returns:
Returns the domainStickyZero.

setRangeStickyZero

public void setRangeStickyZero(org.dom4j.Node rangeStickyZeroNode)

setRangeStickyZero

public void setRangeStickyZero(boolean rangeStickyZero)
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.

getTitle

public String getTitle()
Specified by:
getTitle in interface ChartDefinition
Returns:
Returns the title.

setTitle

public void setTitle(org.dom4j.Node chartTitleNode)

setTitle

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

getPaintSequence

public Paint[] getPaintSequence()
Specified by:
getPaintSequence in interface ChartDefinition
Returns:
Returns the paintSequence.

setPaintSequence

public void setPaintSequence(org.dom4j.Node paletteNode)

setPaintSequence

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

getSubtitles

public List getSubtitles()
Specified by:
getSubtitles in interface ChartDefinition
Returns:
Returns the subTitles.

addSubTitles

public void addSubTitles(List subTitleNodes)

addSubTitle

public void addSubTitle(String subTitle)

getChartBackgroundImage

public Image getChartBackgroundImage()
Specified by:
getChartBackgroundImage in interface ChartDefinition
Returns:
Returns the chartBackgroundImage.

setChartBackgroundImage

public void setChartBackgroundImage(org.dom4j.Node chartBackgroundImageNode)

setChartBackgroundImage

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

isLegendIncluded

public boolean isLegendIncluded()
Specified by:
isLegendIncluded in interface ChartDefinition
Returns:
Returns the legendIncluded.

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)

getPlotBackgroundPaint

public Paint getPlotBackgroundPaint()
Specified by:
getPlotBackgroundPaint in interface ChartDefinition

getPlotBackgroundImage

public Image getPlotBackgroundImage()
Specified by:
getPlotBackgroundImage in interface ChartDefinition
Returns:
Returns the plotBackgroundImage.

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.

isBorderVisible

public boolean isBorderVisible()
Specified by:
isBorderVisible in interface ChartDefinition
Returns:
Returns the borderVisible.

setBorderVisible

public void setBorderVisible(org.dom4j.Node borderVisibleNode)

setBorderVisible

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

getBorderPaint

public Paint getBorderPaint()
Specified by:
getBorderPaint in interface ChartDefinition
Returns:
Returns the borderPaint.

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)

getLegendPosition

public org.jfree.ui.RectangleEdge getLegendPosition()
Specified by:
getLegendPosition in interface ChartDefinition

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.

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)

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)

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)

isDisplayLabels

public boolean isDisplayLabels()
Specified by:
isDisplayLabels in interface ChartDefinition

getLineStyle

public String getLineStyle()
Returns:
returns the style set for the lines
See Also:
ChartDefinition.LINE_STYLE_SOLID_STR, ChartDefinition.LINE_STYLE_DASH_STR, ChartDefinition.LINE_STYLE_DOT_STR, ChartDefinition.LINE_STYLE_DASHDOT_STR, ChartDefinition.LINE_STYLE_DASHDOTDOT_STR

setLineStyle

public void setLineStyle(String lineStyle)
Parameters:
lineStyle - set the style for all line series
See Also:
ChartDefinition.LINE_STYLE_SOLID_STR, ChartDefinition.LINE_STYLE_DASH_STR, ChartDefinition.LINE_STYLE_DOT_STR, ChartDefinition.LINE_STYLE_DASHDOT_STR, ChartDefinition.LINE_STYLE_DASHDOTDOT_STR

setLineStyle

public void setLineStyle(org.dom4j.Node lineStyleNode)
Parameters:
lineStyleNode - set the style from an XML node

getLineWidth

public float getLineWidth()
Returns:
the width of all line series Valid values are float numbers zero or greater

setLineWidth

public void setLineWidth(float lineWidth)
Parameters:
lineWidth - set the width of all line series Valid values are float numbers zero or greater

setLineWidth

public void setLineWidth(org.dom4j.Node lineWidthNode)
Parameters:
lineWidthNode - set the line width from an XML node

getSession

public IPentahoSession getSession()

setSession

public void setSession(IPentahoSession session)

isMarkersVisible

public boolean isMarkersVisible()
Returns:
boolean whether the markers (data points) for all series are displayed

setMarkersVisible

public void setMarkersVisible(boolean markersVisible)
Parameters:
markersVisible - set whether the markers (data points) for all series should be displayed

setMarkersVisible

public void setMarkersVisible(org.dom4j.Node markersVisibleNode)
Parameters:
markersVisibleNode - set the markers visibility from an XML node

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.

getNoDataMessage

public String getNoDataMessage()
Specified by:
getNoDataMessage in interface ChartDefinition

getTooltipContent

public String getTooltipContent()

setTooltipContent

public void setTooltipContent(String tooltipContent)

getTooltipXFormat

public String getTooltipXFormat()

setTooltipXFormat

public void setTooltipXFormat(String tooltipXFormat)

getTooltipYFormat

public String getTooltipYFormat()

setTooltipYFormat

public void setTooltipYFormat(String tooltipYFormat)

setTooltipContent

public void setTooltipContent(org.dom4j.Node node)

setTooltipXFormat

public void setTooltipXFormat(org.dom4j.Node node)

setTooltipYFormat

public void setTooltipYFormat(org.dom4j.Node node)

getBackgroundAlpha

public Float getBackgroundAlpha()
Specified by:
getBackgroundAlpha in interface ChartDefinition

setBackgroundAlpha

public void setBackgroundAlpha(org.dom4j.Node backgroundAlphaNode)

getForegroundAlpha

public Float getForegroundAlpha()
Specified by:
getForegroundAlpha in interface ChartDefinition

setForegroundAlpha

public void setForegroundAlpha(org.dom4j.Node foregroundAlphaNode)