|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTimeSeriesCollection
org.pentaho.platform.uifoundation.chart.TimeSeriesCollectionChartDefinition
public class TimeSeriesCollectionChartDefinition
Field Summary | |
---|---|
static String |
DATE_MAXIMUM_NODE_NAME
|
static String |
DATE_MINIMUM_NODE_NAME
|
Constructor Summary | |
---|---|
TimeSeriesCollectionChartDefinition(int chartType,
IPentahoResultSet data,
boolean byRow,
Node chartAttributes,
IPentahoSession session)
|
|
TimeSeriesCollectionChartDefinition(IPentahoResultSet data,
boolean byRow,
Node chartAttributes,
IPentahoSession session)
|
|
TimeSeriesCollectionChartDefinition(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)
|
Date |
getDateMaximum()
|
Date |
getDateMinimum()
|
String |
getDomainPeriodType()
|
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 |
RectangleEdge |
getLegendPosition()
|
String |
getLineStyle()
|
float |
getLineWidth()
|
Log |
getLogger()
|
String |
getNoDataMessage()
|
PlotOrientation |
getOrientation()
|
Paint[] |
getPaintSequence()
|
Image |
getPlotBackgroundImage()
|
Paint |
getPlotBackgroundPaint()
|
double |
getRangeMaximum()
Return the range axis' maximum value |
double |
getRangeMinimum()
Return the range axis' minimum value |
String |
getRangeTitle()
|
Font |
getRangeTitleFont()
|
IPentahoSession |
getSession()
|
List |
getSubtitles()
|
static Class |
getTimePeriodClass(String timePeriodStr)
|
String |
getTitle()
|
Font |
getTitleFont()
Return the java.awt.Font to be used to display the dial title |
RectangleEdge |
getTitlePosition()
|
String |
getTooltipContent()
|
String |
getTooltipXFormat()
|
String |
getTooltipYFormat()
|
int |
getWidth()
|
boolean |
isBorderVisible()
|
boolean |
isDisplayLabels()
|
boolean |
isDomainVerticalTickLabels()
|
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 |
setChartBackground(Node chartBackgroundNode)
|
void |
setChartBackgroundImage(Node chartBackgroundImageNode)
|
void |
setChartBackgroundPaint(Paint chartBackgroundPaint)
|
void |
setChartType(Node chartTypeNode)
|
void |
setDateMaximum(Date dateMaximum)
|
void |
setDateMaximum(Node dateMaximumNode)
|
void |
setDateMinimum(Date dateMinimum)
|
void |
setDateMinimum(Node dateMinimumNode)
|
void |
setDomainPeriodType(Node domainPeriodTypeNode)
|
void |
setDomainTitle(Node titleNode)
|
void |
setDomainTitleFont(Node titleFontNode)
|
void |
setDomainVerticalTickLabels(Node domainVerticalTickLabelsNode)
|
void |
setDotHeight(Node heightNode)
|
void |
setDotWidth(Node widthNode)
|
void |
setForegroundAlpha(Node foregroundAlphaNode)
|
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 |
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 |
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 |
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 |
setTooltipContent(Node node)
|
void |
setTooltipContent(String tooltipContent)
|
void |
setTooltipXFormat(Node node)
|
void |
setTooltipXFormat(String tooltipXFormat)
|
void |
setTooltipYFormat(Node node)
|
void |
setTooltipYFormat(String tooltipYFormat)
|
void |
setWidth(Node widthNode)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DATE_MINIMUM_NODE_NAME
public static final String DATE_MAXIMUM_NODE_NAME
Constructor Detail |
---|
public TimeSeriesCollectionChartDefinition(IPentahoSession session)
public TimeSeriesCollectionChartDefinition(int chartType, IPentahoResultSet data, boolean byRow, Node chartAttributes, IPentahoSession session)
public TimeSeriesCollectionChartDefinition(IPentahoResultSet data, boolean byRow, Node chartAttributes, IPentahoSession session)
Method Detail |
---|
public Log getLogger()
public static Class getTimePeriodClass(String timePeriodStr)
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(Node titleFontNode)
public Paint getChartBackgroundPaint()
getChartBackgroundPaint
in interface ChartDefinition
public int getChartType()
public static int getChartType(String 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 boolean isDomainVerticalTickLabels()
public void setDomainVerticalTickLabels(Node domainVerticalTickLabelsNode)
public String getDomainPeriodType()
public void setDomainPeriodType(Node domainPeriodTypeNode)
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 void setOrientation(PlotOrientation orientation)
orientation
- The orientation 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 setTitlePosition(RectangleEdge titlePosition)
titlePosition
- The titlePosition to set.public void setLegendPosition(Node legendPositionNode)
public RectangleEdge getLegendPosition()
getLegendPosition
in interface ChartDefinition
public 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 void setRangeTitleFont(Node titleFontNode)
public Font getRangeTitleFont()
public boolean isDisplayLabels()
isDisplayLabels
in interface ChartDefinition
public IPentahoSession getSession()
public void setSession(IPentahoSession session)
public int getDotHeight()
public void setDotHeight(Node heightNode)
public int getDotWidth()
public void setDotWidth(Node widthNode)
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(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 Font getLegendFont()
getLegendFont
in interface ChartDefinition
public void setLegendFont(Font legendFont)
Font
- The java.awt.Font for the legend itemspublic void setLegendFont(Node legendFontNode)
public 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 void setDateMaximum(Date dateMaximum)
public Date getDateMaximum()
public void setDateMaximum(Node dateMaximumNode)
public void setDateMinimum(Date dateMinimum)
public Date getDateMinimum()
public void setDateMinimum(Node dateMinimumNode)
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(Node node)
public void setTooltipXFormat(Node node)
public void setTooltipYFormat(Node node)
public Float getBackgroundAlpha()
getBackgroundAlpha
in interface ChartDefinition
public void setBackgroundAlpha(Node backgroundAlphaNode)
public Float getForegroundAlpha()
getForegroundAlpha
in interface ChartDefinition
public void setForegroundAlpha(Node foregroundAlphaNode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |