|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.data.general.AbstractDataset org.jfree.data.general.AbstractSeriesDataset org.jfree.data.xy.AbstractXYDataset org.jfree.data.xy.AbstractIntervalXYDataset org.jfree.data.xy.XYSeriesCollection org.pentaho.platform.uifoundation.chart.XYSeriesCollectionChartDefinition
public class XYSeriesCollectionChartDefinition
Field Summary |
---|
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 |
---|
public XYSeriesCollectionChartDefinition(IPentahoSession session)
public XYSeriesCollectionChartDefinition(int chartType, org.pentaho.commons.connection.IPentahoResultSet data, boolean byRow, IPentahoSession session)
public XYSeriesCollectionChartDefinition(org.pentaho.commons.connection.IPentahoResultSet data, boolean byRow, org.dom4j.Node chartAttributes, IPentahoSession session)
Method Detail |
---|
public static org.apache.commons.logging.Log getLogger()
public void setChartBackgroundPaint(Paint chartBackgroundPaint)
backgroundPaint
- The backgroundPaint to set.public Font getTitleFont()
getTitleFont
in interface ChartDefinition
public void setTitleFont(Font titleFont)
public void setTitleFont(org.dom4j.Node titleFontNode)
public Paint getChartBackgroundPaint()
getChartBackgroundPaint
in interface ChartDefinition
public int getChartType()
public static int getChartType(String typeStr)
public void setChartType(org.dom4j.Node chartTypeNode)
public void setChartType(int chartType)
chartType
- The chartType to set.public boolean isThreeD()
isThreeD
in interface ChartDefinition
public void setThreeD(org.dom4j.Node threeDNode)
public void setThreeD(boolean threeD)
threeD
- The threeD to set.public boolean isStacked()
public void setStacked(org.dom4j.Node stackedNode)
public void setStacked(boolean stacked)
stacked
- The stacked to set.public boolean isDomainVerticalTickLabels()
public void setDomainVerticalTickLabels(org.dom4j.Node domainVerticalTickLabelsNode)
public void setDomainVerticalTickLabels(boolean domainVerticalTickLabels)
domainVerticalTickLabels
- The domainVerticalLabels to set.public boolean isDomainIncludesZero()
public void setDomainIncludesZero(org.dom4j.Node domainIncludesZeroNode)
public void setDomainIncludesZero(boolean domainIncludesZero)
domainIncludesZero
- The domainIncludesZero to set.public boolean isDomainStickyZero()
public void setDomainStickyZero(org.dom4j.Node domainStickyZeroNode)
public void setDomainStickyZero(boolean domainStickyZero)
domainStickyZero
- The domainStickyZero to set.public boolean isRangeIncludesZero()
public void setRangeIncludesZero(org.dom4j.Node rangeIncludesZeroNode)
public void setRangeIncludesZero(boolean rangeIncludesZero)
domainIncludesZero
- The domainIncludesZero to set.public boolean isRangeStickyZero()
public void setRangeStickyZero(org.dom4j.Node rangeStickyZeroNode)
public void setRangeStickyZero(boolean rangeStickyZero)
domainStickyZero
- The domainStickyZero to set.public int getHeight()
getHeight
in interface ChartDefinition
public void setHeight(org.dom4j.Node heightNode)
public void setHeight(int height)
height
- The height to set.public int getWidth()
getWidth
in interface ChartDefinition
public void setWidth(org.dom4j.Node widthNode)
public void setWidth(int width)
width
- The width to set.public int getDotHeight()
public void setDotHeight(org.dom4j.Node heightNode)
public void setDotHeight(int height)
height
- The dot height to set.public int getDotWidth()
public void setDotWidth(org.dom4j.Node widthNode)
public void setDotWidth(int width)
width
- The dot width to set.public String getTitle()
getTitle
in interface ChartDefinition
public void setTitle(org.dom4j.Node chartTitleNode)
public void setTitle(String title)
title
- The title to set.public Paint[] getPaintSequence()
getPaintSequence
in interface ChartDefinition
public void setPaintSequence(org.dom4j.Node paletteNode)
public void setPaintSequence(Paint[] paintSequence)
paintSequence
- The paintSequence to set.public List getSubtitles()
getSubtitles
in interface ChartDefinition
public void addSubTitles(List subTitleNodes)
public void addSubTitle(String subTitle)
public Image getChartBackgroundImage()
getChartBackgroundImage
in interface ChartDefinition
public void setChartBackgroundImage(org.dom4j.Node chartBackgroundImageNode)
public void setChartBackgroundImage(Image chartBackgroundImage)
chartBackgroundImage
- The chartBackgroundImage to set.public boolean isLegendIncluded()
isLegendIncluded
in interface ChartDefinition
public void setLegendIncluded(org.dom4j.Node legendNode)
public void setLegendIncluded(boolean legendIncluded)
legendIncluded
- The legendIncluded to set.public void setPlotBackgroundPaint(Paint plotBackgroundPaint)
public Paint getPlotBackgroundPaint()
getPlotBackgroundPaint
in interface ChartDefinition
public Image getPlotBackgroundImage()
getPlotBackgroundImage
in interface ChartDefinition
public void setPlotBackgroundImage(org.dom4j.Node plotBackgroundImageNode)
public void setPlotBackgroundImage(Image plotBackgroundImage)
plotBackgroundImage
- The plotBackgroundImage to set.public org.jfree.chart.plot.PlotOrientation getOrientation()
public void setOrientation(org.dom4j.Node orientationNode)
public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation
- The orientation to set.public boolean isBorderVisible()
isBorderVisible
in interface ChartDefinition
public void setBorderVisible(org.dom4j.Node borderVisibleNode)
public void setBorderVisible(boolean borderVisible)
borderVisible
- The borderVisible to set.public Paint getBorderPaint()
getBorderPaint
in interface ChartDefinition
public void setBorderPaint(Paint borderPaint)
borderPaint
- The borderPaint to set.public void setTitlePosition(org.dom4j.Node titlePositionNode)
public org.jfree.ui.RectangleEdge getTitlePosition()
getTitlePosition
in interface ChartDefinition
public void setTitlePosition(org.jfree.ui.RectangleEdge titlePosition)
titlePosition
- The titlePosition to set.public void setLegendPosition(org.dom4j.Node legendPositionNode)
public org.jfree.ui.RectangleEdge getLegendPosition()
getLegendPosition
in interface ChartDefinition
public void setLegendPosition(org.jfree.ui.RectangleEdge legendPosition)
public void setChartBackground(org.dom4j.Node chartBackgroundNode)
public void setPlotBackground(org.dom4j.Node plotBackgroundNode)
public void setDomainTitle(org.dom4j.Node titleNode)
public String getDomainTitle()
public void setDomainTitle(String domainTitle)
domainTitle
- The domainTitle to set.public void setRangeTitle(org.dom4j.Node titleNode)
public String getRangeTitle()
public void setRangeTitle(String rangeTitle)
rangeTitle
- The rangeTitle to set.public void setDomainTitleFont(org.dom4j.Node titleFontNode)
public Font getDomainTitleFont()
public void setDomainTitleFont(Font domainTitleFont)
domainTitleFont
- The domainTitleFont to set.public Font getDomainTickFont()
public void setDomainTickFont(Font domainTickFont)
domainTickFont
- The domainTickFont to set.public void setDomainTickFont(org.dom4j.Node rangeTickFontNode)
public NumberFormat getDomainTickFormat()
public void setDomainTickFormat(NumberFormat domainTickFormat)
rangeTickFormat
- The range tick number format to set.public void setDomainTickFormat(org.dom4j.Node tickFormatFontNode)
public void setRangeTitleFont(org.dom4j.Node titleFontNode)
public Font getRangeTitleFont()
public void setRangeTitleFont(Font rangeTitleFont)
rangeTitleFont
- The rangeTitleFont to set.public NumberFormat getRangeTickFormat()
public void setRangeTickFormat(NumberFormat rangeTickFormat)
rangeTickFormat
- The range tick number format to set.public void setRangeTickFormat(org.dom4j.Node tickFormatFontNode)
public Font getRangeTickFont()
public void setRangeTickFont(Font rangeTickFont)
rangeTitleFont
- The rangeTitleFont to set.public void setRangeTickFont(org.dom4j.Node rangeTickFontNode)
public boolean isDisplayLabels()
isDisplayLabels
in interface ChartDefinition
public String getLineStyle()
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
public void setLineStyle(String lineStyle)
lineStyle
- set the style for all line seriesChartDefinition.LINE_STYLE_SOLID_STR
,
ChartDefinition.LINE_STYLE_DASH_STR
,
ChartDefinition.LINE_STYLE_DOT_STR
,
ChartDefinition.LINE_STYLE_DASHDOT_STR
,
ChartDefinition.LINE_STYLE_DASHDOTDOT_STR
public void setLineStyle(org.dom4j.Node lineStyleNode)
lineStyleNode
- set the style from an XML nodepublic float getLineWidth()
public void setLineWidth(float lineWidth)
lineWidth
- set the width of all line series
Valid values are float numbers zero or greaterpublic void setLineWidth(org.dom4j.Node lineWidthNode)
lineWidthNode
- set the line width from an XML nodepublic IPentahoSession getSession()
public void setSession(IPentahoSession session)
public boolean isMarkersVisible()
public void setMarkersVisible(boolean markersVisible)
markersVisible
- set whether the markers (data points) for all series should be displayedpublic void setMarkersVisible(org.dom4j.Node markersVisibleNode)
markersVisibleNode
- set the markers visibility from an XML nodepublic Font getLegendFont()
getLegendFont
in interface ChartDefinition
public void setLegendFont(Font legendFont)
Font
- The java.awt.Font for the legend itemspublic void setLegendFont(org.dom4j.Node legendFontNode)
public void setLegendBorderVisible(org.dom4j.Node legendBorderVisibleNode)
public void setLegendBorderVisible(boolean legendBorderVisible)
boolean
- legendBorderVisible
Set the visibility of the legend border.public boolean isLegendBorderVisible()
isLegendBorderVisible
in interface ChartDefinition
public double getRangeMinimum()
public void setRangeMinimum(org.dom4j.Node rangeMinimumNode)
public void setRangeMinimum(double rangeMinimum)
double
- rangeMinimum
Set the minimum value of the range axis.public double getRangeMaximum()
public void setRangeMaximum(org.dom4j.Node rangeMaximumNode)
public void setRangeMaximum(double rangeMaximum)
double
- rangeMaximum
Set the maximum value of the range axis.public double getDomainMinimum()
public void setDomainMinimum(org.dom4j.Node domainMinimumNode)
public void setDomainMinimum(double domainMinimum)
double
- domainMinimum
Set the minimum value of the domain axis.public double getDomainMaximum()
public void setDomainMaximum(org.dom4j.Node domainMaximumNode)
public void setDomainMaximum(double domainMaximum)
double
- domainMaximum
Set the maximum value of the domain axis.public String getNoDataMessage()
getNoDataMessage
in interface ChartDefinition
public String getTooltipContent()
public void setTooltipContent(String tooltipContent)
public String getTooltipXFormat()
public void setTooltipXFormat(String tooltipXFormat)
public String getTooltipYFormat()
public void setTooltipYFormat(String tooltipYFormat)
public void setTooltipContent(org.dom4j.Node node)
public void setTooltipXFormat(org.dom4j.Node node)
public void setTooltipYFormat(org.dom4j.Node node)
public Float getBackgroundAlpha()
getBackgroundAlpha
in interface ChartDefinition
public void setBackgroundAlpha(org.dom4j.Node backgroundAlphaNode)
public Float getForegroundAlpha()
getForegroundAlpha
in interface ChartDefinition
public void setForegroundAlpha(org.dom4j.Node foregroundAlphaNode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |