|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jfree.chart.plot.Plot
|
+--org.jfree.chart.plot.XYPlot
|
+--org.jfree.chart.plot.PeriodMarkerPlot
A plot that marks time periods, for use in overlaid plots.
| Field Summary |
| Fields inherited from class org.jfree.chart.plot.XYPlot |
DEFAULT_CROSSHAIR_PAINT, DEFAULT_CROSSHAIR_STROKE, DEFAULT_CROSSHAIR_VISIBLE, DEFAULT_GRIDLINE_PAINT, DEFAULT_GRIDLINE_STROKE |
| Fields inherited from class org.jfree.chart.plot.Plot |
DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_INSETS, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, ZERO |
| Constructor Summary | |
PeriodMarkerPlot(XYDataset data,
ValueAxis domainAxis,
ValueAxis rangeAxis)
Creates a new period marker plot. |
|
| Method Summary | |
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D drawArea,
ChartRenderingInfo info)
Draws the plot on a Java 2D graphics device (such as the screen or a printer). |
java.util.List |
getLegendItemLabels()
Deprecated. use getLegendItems(). |
LegendItemCollection |
getLegendItems()
Returns the legend items (null for this plot). |
java.lang.String |
getPlotType()
Returns the plot type as a string. |
XYDataset |
getTempXYDataset()
A convenience method that returns the dataset for the plot, cast as an XYDataset. |
Range |
getVerticalDataRange()
Returns the range for the vertical axis. |
boolean |
isCompatibleHorizontalAxis(Axis axis)
Checks the compatibility of a horizontal axis, returning true if the axis is compatible with the plot, and false otherwise. |
boolean |
isCompatibleVerticalAxis(Axis axis)
Checks the compatibility of a vertical axis, returning true if the axis is compatible with the plot, and false otherwise. |
void |
zoom(double percent)
A zoom method that does nothing. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.chart.plot.HorizontalValuePlot |
getHorizontalDataRange, getHorizontalValueAxis |
| Methods inherited from interface org.jfree.chart.plot.VerticalValuePlot |
getVerticalDataRange, getVerticalValueAxis |
| Constructor Detail |
public PeriodMarkerPlot(XYDataset data,
ValueAxis domainAxis,
ValueAxis rangeAxis)
data - the data series.domainAxis - the domain axis.rangeAxis - the range axis.| Method Detail |
public LegendItemCollection getLegendItems()
getLegendItems in class XYPlotpublic java.lang.String getPlotType()
getPlotType in class XYPlotpublic Range getVerticalDataRange()
public XYDataset getTempXYDataset()
public boolean isCompatibleHorizontalAxis(Axis axis)
axis - the horizontal axis.
true if the axis is compatible with the plot.public boolean isCompatibleVerticalAxis(Axis axis)
axis - the vertical axis.
true if the axis is compatible with the plot.
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D drawArea,
ChartRenderingInfo info)
draw in class XYPlotg2 - the graphics device.drawArea - the area within which the plot should be drawn.info - an optional info collection object to return data back to the caller.public void zoom(double percent)
zoom in class XYPlotpercent - the zoom percentage.public java.util.List getLegendItemLabels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||