|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 | |
protected static java.util.ResourceBundle |
localizationResources
The resourceBundle for the localization. |
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 plotArea,
ChartRenderingInfo info)
Draws the plot on a Java 2D graphics device (such as the screen or a printer). |
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. |
void |
zoom(double percent)
A zoom method that does nothing. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jfree.chart.plot.ValueAxisPlot |
getDataRange, zoomHorizontalAxes, zoomHorizontalAxes, zoomVerticalAxes, zoomVerticalAxes |
Field Detail |
protected static java.util.ResourceBundle localizationResources
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 XYPlot
public java.lang.String getPlotType()
getPlotType
in class XYPlot
public XYDataset getTempXYDataset()
public void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, ChartRenderingInfo info)
g2
- the graphics device.plotArea
- 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 XYPlot
percent
- the zoom percentage.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |