|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object DefaultCategoryDataset org.pentaho.platform.uifoundation.chart.CategoryDatasetChartDefinition
public class CategoryDatasetChartDefinition
Field Summary |
---|
Constructor Summary | |
---|---|
CategoryDatasetChartDefinition(int chartType,
IPentahoResultSet data,
boolean byRow,
IPentahoSession session)
|
|
CategoryDatasetChartDefinition(IPentahoSession session)
|
|
CategoryDatasetChartDefinition(IPentahoSession session,
Node chartAttributes)
|
Method Summary | |
---|---|
void |
addSubTitle(String subTitle)
|
void |
addSubTitles(List subTitleNodes)
|
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()
|
int |
getHeight()
|
Font |
getLegendFont()
Return the java.awt.Font to be used to display the legend items |
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()
|
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 |
isLegendBorderVisible()
Return the boolen that states if the legend border is visible |
boolean |
isLegendIncluded()
|
boolean |
isMarkersVisible()
|
boolean |
isStacked()
|
boolean |
isThreeD()
|
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 |
setDomainTitle(Node titleNode)
|
void |
setDomainTitleFont(Node titleFontNode)
|
void |
setHeight(Node heightNode)
|
void |
setLegendBorderVisible(Node legendBorderVisibleNode)
|
void |
setLegendFont(Font legendFont)
Set java.awt.Font to be used to display the legend items |
void |
setLegendIncluded(Node legendNode)
|
void |
setLineStyle(String lineStyle)
|
void |
setLineWidth(float lineWidth)
|
void |
setMarkersVisible(boolean markersVisible)
|
void |
setMaxBarWidth(Double maxBarWidth)
|
void |
setOrientation(Node orientationNode)
|
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 |
setRangeTickFormat(NumberFormat rangeTickFormat)
|
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 |
setTitlePosition(Node titlePositionNode)
|
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)
Method Detail |
---|
public static 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 Paint getChartBackgroundPaint()
getChartBackgroundPaint
in interface ChartDefinition
public int getChartType()
@Deprecated public static int getChartType(String typeStr)
typeStr
-
public void setChartType(Node chartTypeNode)
public boolean isThreeD()
isThreeD
in interface ChartDefinition
public void setThreeD(Node threeDNode)
public boolean isStacked()
public void setStacked(Node stackedNode)
public int getHeight()
getHeight
in interface ChartDefinition
public void setHeight(Node heightNode)
public int getWidth()
getWidth
in interface ChartDefinition
public void setWidth(Node widthNode)
public String getTitle()
getTitle
in interface ChartDefinition
public void setTitle(Node chartTitleNode)
public Paint[] getPaintSequence()
getPaintSequence
in interface ChartDefinition
public void setPaintSequence(Node paletteNode)
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(Node chartBackgroundImageNode)
public boolean isLegendIncluded()
isLegendIncluded
in interface ChartDefinition
public void setLegendIncluded(Node legendNode)
public void setPlotBackgroundPaint(Paint plotBackgroundPaint)
public Paint getPlotBackgroundPaint()
getPlotBackgroundPaint
in interface ChartDefinition
public Image getPlotBackgroundImage()
getPlotBackgroundImage
in interface ChartDefinition
public void setPlotBackgroundImage(Node plotBackgroundImageNode)
public PlotOrientation getOrientation()
public void setOrientation(Node orientationNode)
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 ChartDefinition
public void setBorderVisible(Node borderVisibleNode)
public Paint getBorderPaint()
getBorderPaint
in interface ChartDefinition
public void setBorderPaint(Paint borderPaint)
borderPaint
- The borderPaint to set.public void setTitlePosition(Node titlePositionNode)
public RectangleEdge getTitlePosition()
getTitlePosition
in interface ChartDefinition
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 setRangeTitleFont(Node titleFontNode)
public Font getRangeTitleFont()
public NumberFormat getRangeTickFormat()
public void setRangeTickFormat(NumberFormat rangeTickFormat)
rangeTickFormat
- The range tick number format to set.public Font getRangeTickFont()
public void setRangeTickFont(Font rangeTickFont)
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 float getLineWidth()
public void setLineWidth(float lineWidth)
lineWidth
- set the width of all line series
Valid values are float numbers zero or greaterpublic boolean isMarkersVisible()
public void setMarkersVisible(boolean markersVisible)
markersVisible
- set whether the markers (data points) for all series should be displayedpublic Double getMaxBarWidth()
public void setMaxBarWidth(Double maxBarWidth)
maxBarWidth
- set the width of all bar series
Valid values are double numbers zero or greaterpublic Font getLegendFont()
getLegendFont
in interface ChartDefinition
public void setLegendFont(Font legendFont)
Font
- The java.awt.Font for the legend itemspublic void setLegendBorderVisible(Node legendBorderVisibleNode)
public boolean isLegendBorderVisible()
isLegendBorderVisible
in interface ChartDefinition
public double getRangeMinimum()
public void setRangeMinimum(Node rangeMinimumNode)
public double getRangeMaximum()
public void setRangeMaximum(Node rangeMaximumNode)
public String getNoDataMessage()
getNoDataMessage
in interface ChartDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |