|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDefaultCategoryDataset
org.pentaho.platform.uifoundation.chart.CategoryDatasetChartDefinition
public class CategoryDatasetChartDefinition
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
CategoryDatasetChartDefinition(int chartType,
IPentahoResultSet data,
boolean byRow,
IPentahoSession session)
|
|
CategoryDatasetChartDefinition(IPentahoResultSet data,
boolean byRow,
Node chartAttributes,
IPentahoSession session)
|
|
CategoryDatasetChartDefinition(IPentahoSession session)
|
|
CategoryDatasetChartDefinition(IPentahoSession session,
Node chartAttributes)
|
|
| Method Summary | |
|---|---|
void |
addSubTitle(String subTitle)
|
void |
addSubTitles(List subTitleNodes)
|
Float |
getBackgroundAlpha()
|
Paint |
getBorderPaint()
|
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 |
RectangleEdge |
getLegendPosition()
|
String |
getLineStyle()
|
float |
getLineWidth()
|
static Log |
getLogger()
|
Double |
getMaxBarWidth()
|
String |
getNoDataMessage()
|
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 |
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(Node backgroundAlphaNode)
|
void |
setBorderPaint(Paint borderPaint)
|
void |
setBorderVisible(Node borderVisibleNode)
|
void |
setCategoryLabelPositions(CategoryLabelPositions categoryLabelPositions)
|
void |
setCategoryLabelRotation(Node rotationDirection,
Node rotationAngle)
|
void |
setChartBackground(Node chartBackgroundNode)
|
void |
setChartBackgroundImage(Node chartBackgroundImageNode)
|
void |
setChartBackgroundPaint(Paint chartBackgroundPaint)
|
void |
setChartType(Node chartTypeNode)
|
void |
setDomainTickFont(Font domainTickFont)
|
void |
setDomainTickFont(Node rangeTickFontNode)
|
void |
setDomainTitle(Node titleNode)
|
void |
setDomainTitleFont(Node titleFontNode)
|
void |
setForegroundAlpha(Node foregroundAlphaNode)
|
void |
setHeight(Node heightNode)
|
void |
setIncludeNullCategories(Node includeNullCategoriesNode)
|
void |
setLegendBorderVisible(Node legendBorderVisibleNode)
|
void |
setLegendFont(Font legendFont)
Set java.awt.Font to be used to display the legend items |
void |
setLegendFont(Node legendFontNode)
|
void |
setLegendIncluded(Node legendNode)
|
void |
setLegendPosition(Node legendPositionNode)
|
void |
setLegendPosition(RectangleEdge legendPosition)
|
void |
setLineStyle(Node lineStyleNode)
|
void |
setLineStyle(String lineStyle)
|
void |
setLineWidth(float lineWidth)
|
void |
setLineWidth(Node lineWidthNode)
|
void |
setMarkersVisible(boolean markersVisible)
|
void |
setMarkersVisible(Node markersVisibleNode)
|
void |
setMaxBarWidth(Double maxBarWidth)
|
void |
setMaxBarWidth(Node maxBarWidthNode)
|
void |
setOrientation(Node orientationNode)
|
void |
setOrientation(PlotOrientation orientation)
|
void |
setPaintSequence(Node paletteNode)
|
void |
setPlotBackground(Node plotBackgroundNode)
|
void |
setPlotBackgroundImage(Node plotBackgroundImageNode)
|
void |
setPlotBackgroundPaint(Paint plotBackgroundPaint)
|
void |
setRangeMaximum(Node rangeMaximumNode)
|
void |
setRangeMinimum(Node rangeMinimumNode)
|
void |
setRangeTickFont(Font rangeTickFont)
|
void |
setRangeTickFont(Node rangeTickFontNode)
|
void |
setRangeTickFormat(Node tickFormatFontNode)
|
void |
setRangeTickFormat(NumberFormat rangeTickFormat)
|
void |
setRangeTickUnits(Node rangeTickUnitsNode)
|
void |
setRangeTitle(Node titleNode)
|
void |
setRangeTitleFont(Node titleFontNode)
|
void |
setSession(IPentahoSession session)
|
void |
setStacked(Node stackedNode)
|
void |
setThreeD(Node threeDNode)
|
void |
setTitle(Node chartTitleNode)
|
void |
setTitleFont(Font titleFont)
|
void |
setTitleFont(Node titleFontNode)
|
void |
setTitlePosition(Node titlePositionNode)
|
void |
setTitlePosition(RectangleEdge titlePosition)
|
void |
setWidth(Node widthNode)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryDatasetChartDefinition(IPentahoSession session)
public CategoryDatasetChartDefinition(IPentahoSession session,
Node chartAttributes)
public CategoryDatasetChartDefinition(int chartType,
IPentahoResultSet data,
boolean byRow,
IPentahoSession session)
public CategoryDatasetChartDefinition(IPentahoResultSet data,
boolean byRow,
Node chartAttributes,
IPentahoSession session)
| Method Detail |
|---|
public static Log getLogger()
public void setChartBackgroundPaint(Paint chartBackgroundPaint)
chartBackgroundPaint - The backgroundPaint to set.public Font getTitleFont()
getTitleFont in interface ChartDefinitionpublic void setTitleFont(Font titleFont)
public void setTitleFont(Node titleFontNode)
public Paint getChartBackgroundPaint()
getChartBackgroundPaint in interface ChartDefinitionpublic int getChartType()
@Deprecated public static int getChartType(String typeStr)
typeStr -
public void setChartType(Node chartTypeNode)
public boolean isThreeD()
isThreeD in interface ChartDefinitionpublic void setThreeD(Node threeDNode)
public boolean isStacked()
public void setStacked(Node stackedNode)
public int getHeight()
getHeight in interface ChartDefinitionpublic void setHeight(Node heightNode)
public int getWidth()
getWidth in interface ChartDefinitionpublic void setWidth(Node widthNode)
public String getTitle()
getTitle in interface ChartDefinitionpublic void setTitle(Node chartTitleNode)
public Paint[] getPaintSequence()
getPaintSequence in interface ChartDefinitionpublic void setPaintSequence(Node paletteNode)
public List getSubtitles()
getSubtitles in interface ChartDefinitionpublic void addSubTitles(List subTitleNodes)
public void addSubTitle(String subTitle)
public Image getChartBackgroundImage()
getChartBackgroundImage in interface ChartDefinitionpublic void setChartBackgroundImage(Node chartBackgroundImageNode)
public boolean isLegendIncluded()
isLegendIncluded in interface ChartDefinitionpublic void setLegendIncluded(Node legendNode)
public void setPlotBackgroundPaint(Paint plotBackgroundPaint)
public Paint getPlotBackgroundPaint()
getPlotBackgroundPaint in interface ChartDefinitionpublic Image getPlotBackgroundImage()
getPlotBackgroundImage in interface ChartDefinitionpublic void setPlotBackgroundImage(Node plotBackgroundImageNode)
public PlotOrientation getOrientation()
public void setOrientation(Node orientationNode)
public void setOrientation(PlotOrientation orientation)
orientation - The orientation to set.public CategoryLabelPositions getCategoryLabelPositions()
public void setCategoryLabelRotation(Node rotationDirection,
Node rotationAngle)
public void setCategoryLabelPositions(CategoryLabelPositions categoryLabelPositions)
categoryLabelPositions - The categoryLabelPositions to set.public boolean isBorderVisible()
isBorderVisible in interface ChartDefinitionpublic void setBorderVisible(Node borderVisibleNode)
public Paint getBorderPaint()
getBorderPaint in interface ChartDefinitionpublic void setBorderPaint(Paint borderPaint)
borderPaint - The borderPaint to set.public void setTitlePosition(Node titlePositionNode)
public void setLegendPosition(Node legendPositionNode)
public RectangleEdge getTitlePosition()
getTitlePosition in interface ChartDefinitionpublic void setTitlePosition(RectangleEdge titlePosition)
titlePosition - The titlePosition to set.public RectangleEdge getLegendPosition()
getLegendPosition in interface ChartDefinitionpublic void setLegendPosition(RectangleEdge legendPosition)
public void setChartBackground(Node chartBackgroundNode)
public void setPlotBackground(Node plotBackgroundNode)
public void setDomainTitle(Node titleNode)
public String getDomainTitle()
public void setRangeTitle(Node titleNode)
public String getRangeTitle()
public void setDomainTitleFont(Node titleFontNode)
public Font getDomainTitleFont()
public Font getDomainTickFont()
public void setDomainTickFont(Font domainTickFont)
public void setDomainTickFont(Node rangeTickFontNode)
public void setRangeTitleFont(Node titleFontNode)
public Font getRangeTitleFont()
public NumberFormat getRangeTickFormat()
public void setRangeTickFormat(NumberFormat rangeTickFormat)
rangeTickFormat - The range tick number format to set.public void setRangeTickFormat(Node tickFormatFontNode)
public Font getRangeTickFont()
public void setRangeTickFont(Font rangeTickFont)
public void setRangeTickFont(Node rangeTickFontNode)
public boolean isDisplayLabels()
isDisplayLabels in interface ChartDefinitionpublic 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_STRpublic 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_STRpublic void setLineStyle(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(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(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(Node maxBarWidthNode)
maxBarWidthNode - set the maxBarWidth width from an XML nodepublic Font getLegendFont()
getLegendFont in interface ChartDefinitionpublic void setLegendFont(Font legendFont)
Font - The java.awt.Font for the legend itemspublic void setLegendFont(Node legendFontNode)
public void setLegendBorderVisible(Node legendBorderVisibleNode)
public void setIncludeNullCategories(Node includeNullCategoriesNode)
public boolean isIncludeNullCategories()
public boolean isLegendBorderVisible()
isLegendBorderVisible in interface ChartDefinitionpublic double getRangeMinimum()
public void setRangeMinimum(Node rangeMinimumNode)
public double getRangeMaximum()
public void setRangeMaximum(Node rangeMaximumNode)
public void setRangeTickUnits(Node rangeTickUnitsNode)
public Double getRangeTickUnits()
public String getNoDataMessage()
getNoDataMessage in interface ChartDefinitionpublic Float getBackgroundAlpha()
getBackgroundAlpha in interface ChartDefinitionpublic void setBackgroundAlpha(Node backgroundAlphaNode)
public Float getForegroundAlpha()
getForegroundAlpha in interface ChartDefinitionpublic void setForegroundAlpha(Node foregroundAlphaNode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||