|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TimeSeriesCollection 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)
|
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()
|
int |
getHeight()
|
Font |
getLegendFont()
Return the java.awt.Font to be used to display the legend items |
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 |
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 |
setDateMinimum(Date dateMinimum)
|
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 |
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 |
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 |
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 |
setTooltipContent(String tooltipContent)
|
void |
setTooltipXFormat(String tooltipXFormat)
|
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 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 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 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 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 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 void setDateMaximum(Date dateMaximum)
public Date getDateMaximum()
public void setDateMinimum(Date dateMinimum)
public Date getDateMinimum()
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |