|
||||||||||
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.category.DefaultCategoryDataset org.pentaho.platform.uifoundation.chart.CategoryDatasetChartDefinition
public class CategoryDatasetChartDefinition
Field Summary |
---|
Constructor Summary | |
---|---|
CategoryDatasetChartDefinition(int chartType,
org.pentaho.commons.connection.IPentahoResultSet data,
boolean byRow,
IPentahoSession session)
|
|
CategoryDatasetChartDefinition(org.pentaho.commons.connection.IPentahoResultSet data,
boolean byRow,
org.dom4j.Node chartAttributes,
IPentahoSession session)
|
|
CategoryDatasetChartDefinition(IPentahoSession session)
|
|
CategoryDatasetChartDefinition(IPentahoSession session,
org.dom4j.Node chartAttributes)
|
Method Summary | |
---|---|
void |
addSubTitle(String subTitle)
|
void |
addSubTitles(List subTitleNodes)
|
Float |
getBackgroundAlpha()
|
Paint |
getBorderPaint()
|
org.jfree.chart.axis.CategoryLabelPositions |
getCategoryLabelPositions()
|
Image |
getChartBackgroundImage()
|
Paint |
getChartBackgroundPaint()
|
int |
getChartType()
|
static int |
getChartType(String typeStr)
Deprecated. use JFreeChartEngine.getChartType(typeStr), which has all of the chart name options for conversion. |
Font |
getDomainTickFont()
Return the java.awt.Font to be used to display the range axis tick labels |
String |
getDomainTitle()
|
Font |
getDomainTitleFont()
|
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()
|
Double |
getMaxBarWidth()
|
String |
getNoDataMessage()
|
org.jfree.chart.plot.PlotOrientation |
getOrientation()
|
Paint[] |
getPaintSequence()
|
Image |
getPlotBackgroundImage()
|
Paint |
getPlotBackgroundPaint()
|
double |
getRangeMaximum()
Return the range axis' minimum 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()
|
Double |
getRangeTickUnits()
|
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()
|
int |
getWidth()
|
boolean |
isBorderVisible()
|
boolean |
isDisplayLabels()
|
boolean |
isIncludeNullCategories()
Return the boolen that states if null categories should be included |
boolean |
isLegendBorderVisible()
Return the boolen that states if the legend border is visible |
boolean |
isLegendIncluded()
|
boolean |
isMarkersVisible()
|
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 |
setCategoryLabelPositions(org.jfree.chart.axis.CategoryLabelPositions categoryLabelPositions)
|
void |
setCategoryLabelRotation(org.dom4j.Node rotationDirection,
org.dom4j.Node rotationAngle)
|
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 |
setDomainTickFont(Font domainTickFont)
|
void |
setDomainTickFont(org.dom4j.Node rangeTickFontNode)
|
void |
setDomainTitle(org.dom4j.Node titleNode)
|
void |
setDomainTitle(String domainTitle)
|
void |
setDomainTitleFont(Font domainTitleFont)
|
void |
setDomainTitleFont(org.dom4j.Node titleFontNode)
|
void |
setForegroundAlpha(org.dom4j.Node foregroundAlphaNode)
|
void |
setHeight(int height)
|
void |
setHeight(org.dom4j.Node heightNode)
|
void |
setIncludeNullCategories(boolean includeNullCategories)
|
void |
setIncludeNullCategories(org.dom4j.Node includeNullCategoriesNode)
|
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 |
setMaxBarWidth(Double maxBarWidth)
|
void |
setMaxBarWidth(org.dom4j.Node maxBarWidthNode)
|
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 |
setRangeMaximum(double rangeMaximum)
|
void |
setRangeMaximum(org.dom4j.Node rangeMaximumNode)
|
void |
setRangeMinimum(double rangeMinimum)
|
void |
setRangeMinimum(org.dom4j.Node rangeMinimumNode)
|
void |
setRangeTickFont(Font rangeTickFont)
|
void |
setRangeTickFont(org.dom4j.Node rangeTickFontNode)
|
void |
setRangeTickFormat(org.dom4j.Node tickFormatFontNode)
|
void |
setRangeTickFormat(NumberFormat rangeTickFormat)
|
void |
setRangeTickUnits(double rangeTickUnits)
|
void |
setRangeTickUnits(org.dom4j.Node rangeTickUnitsNode)
|
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 |
setWidth(int width)
|
void |
setWidth(org.dom4j.Node widthNode)
|
Methods inherited from class org.jfree.data.category.DefaultCategoryDataset |
---|
addValue, addValue, clear, clone, equals, getColumnCount, getColumnIndex, getColumnKey, getColumnKeys, getRowCount, getRowIndex, getRowKey, getRowKeys, getValue, getValue, hashCode, incrementValue, removeColumn, removeColumn, removeRow, removeRow, removeValue, setValue, setValue |
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.general.Dataset |
---|
addChangeListener, getGroup, removeChangeListener, setGroup |
Constructor Detail |
---|
public CategoryDatasetChartDefinition(IPentahoSession session)
public CategoryDatasetChartDefinition(IPentahoSession session, org.dom4j.Node chartAttributes)
public CategoryDatasetChartDefinition(int chartType, org.pentaho.commons.connection.IPentahoResultSet data, boolean byRow, IPentahoSession session)
public CategoryDatasetChartDefinition(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)
chartBackgroundPaint
- 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()
@Deprecated public static int getChartType(String typeStr)
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 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 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 org.jfree.chart.axis.CategoryLabelPositions getCategoryLabelPositions()
public void setCategoryLabelRotation(org.dom4j.Node rotationDirection, org.dom4j.Node rotationAngle)
public void setCategoryLabelPositions(org.jfree.chart.axis.CategoryLabelPositions categoryLabelPositions)
categoryLabelPositions
- The categoryLabelPositions 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 void setLegendPosition(org.dom4j.Node legendPositionNode)
public org.jfree.ui.RectangleEdge getTitlePosition()
getTitlePosition
in interface ChartDefinition
public void setTitlePosition(org.jfree.ui.RectangleEdge titlePosition)
titlePosition
- The titlePosition to set.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)
public void setDomainTickFont(org.dom4j.Node rangeTickFontNode)
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)
public void setRangeTickFont(org.dom4j.Node rangeTickFontNode)
public boolean isDisplayLabels()
isDisplayLabels
in interface ChartDefinition
public IPentahoSession getSession()
public void setSession(IPentahoSession session)
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 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 Double getMaxBarWidth()
public void setMaxBarWidth(Double maxBarWidth)
maxBarWidth
- set the width of all bar series
Valid values are double numbers zero or greaterpublic void setMaxBarWidth(org.dom4j.Node maxBarWidthNode)
maxBarWidthNode
- set the maxBarWidth width 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 void setIncludeNullCategories(org.dom4j.Node includeNullCategoriesNode)
public boolean isIncludeNullCategories()
public void setIncludeNullCategories(boolean includeNullCategories)
boolean
- includeNullCategories
Set whether the dataset should include null categoriespublic 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
- rangeMinimum
Set the minimum value of the range axis.public void setRangeTickUnits(org.dom4j.Node rangeTickUnitsNode)
public void setRangeTickUnits(double rangeTickUnits)
public Double getRangeTickUnits()
public String getNoDataMessage()
getNoDataMessage
in interface ChartDefinition
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 |