| java.lang.Object org.jfree.chart.plot.Plot org.jfree.chart.plot.ContourPlot
Method Summary | |
public void | addAnnotation(XYAnnotation annotation) Adds an annotation to the plot. | public void | addDomainMarker(Marker marker) Adds a marker for the domain axis. | public void | addRangeMarker(Marker marker) Adds a marker for the range axis. | public void | axisChanged(AxisChangeEvent event) Receives notification of a change to one of the plot's axes. | public void | clearAnnotations() Clears all the annotations. | public void | clearDomainMarkers() Clears all the domain markers. | public void | clearRangeMarkers() Clears all the range markers. | public Object | clone() | public void | contourRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis horizontalAxis, ValueAxis verticalAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState) Fills the plot. | public void | datasetChanged(DatasetChangeEvent event) Receives notification of a change to the plot's dataset. | public void | draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info) Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
The optional info argument collects information about the
rendering of the plot (dimensions, tooltip information etc). | public void | drawDomainMarker(Graphics2D g2, ContourPlot plot, ValueAxis domainAxis, Marker marker, Rectangle2D dataArea) Draws a vertical line on the chart to represent a 'range marker'. | protected void | drawHorizontalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint) Utility method for drawing a crosshair on the chart (if required). | public void | drawRangeMarker(Graphics2D g2, ContourPlot plot, ValueAxis rangeAxis, Marker marker, Rectangle2D dataArea) Draws a horizontal line across the chart to represent a 'range marker'. | protected void | drawVerticalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint) Utility method for drawing a crosshair on the chart (if required). | public ClipPath | getClipPath() Returns the clipPath. | public ColorBar | getColorBar() Returns the colorbar. | public RectangleEdge | getColorBarLocation() Returns the color bar location. | public Range | getContourDataRange() Returns the range for the Contours. | public double | getDataAreaRatio() Returns the data area ratio. | public Range | getDataRange(ValueAxis axis) Returns the range for an axis.
Parameters: axis - the axis. | public ContourDataset | getDataset() Returns the primary dataset for the plot. | public ValueAxis | getDomainAxis() Returns the domain axis for the plot. | public Paint | getDomainCrosshairPaint() Returns the domain crosshair color. | public Stroke | getDomainCrosshairStroke() Returns the Stroke used to draw the crosshair (if visible). | public double | getDomainCrosshairValue() Returns the domain crosshair value. | public Paint | getMissingPaint() Returns the missingPaint. | public String | getPlotType() Returns the plot type as a string. | public double | getPtSizePct() Returns the ptSizePct. | public ValueAxis | getRangeAxis() Returns the range axis for the plot. | public Paint | getRangeCrosshairPaint() Returns the range crosshair color. | public Stroke | getRangeCrosshairStroke() Returns the Stroke used to draw the crosshair (if visible). | public double | getRangeCrosshairValue() Returns the range crosshair value. | public ContourToolTipGenerator | getToolTipGenerator() Returns the tool tip generator. | public XYURLGenerator | getURLGenerator() Returns the URL generator for HTML image maps. | public void | handleClick(int x, int y, PlotRenderingInfo info) Handles a 'click' on the plot by updating the anchor values... | public boolean | isCompatibleDomainAxis(ValueAxis axis) Checks the compatibility of a domain axis, returning true if the axis is
compatible with the plot, and false otherwise.
Parameters: axis - The proposed axis. | public boolean | isDomainCrosshairLockedOnData() Returns a flag indicating whether or not the crosshair should "lock-on"
to actual data values. | public boolean | isDomainCrosshairVisible() Returns a flag indicating whether or not the domain crosshair is visible. | public boolean | isDomainZoomable() Returns false . | public boolean | isRangeCrosshairLockedOnData() Returns a flag indicating whether or not the crosshair should "lock-on"
to actual data values. | public boolean | isRangeCrosshairVisible() Returns a flag indicating whether or not the range crosshair is visible. | public boolean | isRangeZoomable() Returns false . | public boolean | isRenderAsPoints() Returns the renderAsPoints. | public void | pointRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState) Draws the visual representation of a single data item. | public void | propertyChange(PropertyChangeEvent event) Notifies all registered listeners of a property change. | public void | render(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, CrosshairState crosshairState) Draws a representation of the data within the dataArea region, using the
current renderer. | public void | setClipPath(ClipPath clipPath) Sets the clipPath. | public void | setColorBarAxis(ColorBar axis) Sets the colorbar for the plot. | public void | setColorBarLocation(RectangleEdge edge) Sets the color bar location and sends a
PlotChangeEvent to all
registered listeners. | public void | setDataAreaRatio(double ratio) Sets the data area ratio. | public void | setDataset(ContourDataset dataset) Sets the dataset for the plot, replacing the existing dataset if there
is one. | public void | setDomainAxis(ValueAxis axis) Sets the domain axis for the plot (this must be compatible with the plot
type or an exception is thrown). | public void | setDomainCrosshairLockedOnData(boolean flag) Sets the flag indicating whether or not the domain crosshair should
"lock-on" to actual data values. | public void | setDomainCrosshairPaint(Paint paint) Sets the Paint used to color the crosshairs (if visible) and notifies
registered listeners that the axis has been modified. | public void | setDomainCrosshairStroke(Stroke stroke) Sets the Stroke used to draw the crosshairs (if visible) and notifies
registered listeners that the axis has been modified. | public void | setDomainCrosshairValue(double value) Sets the domain crosshair value. | public void | setDomainCrosshairValue(double value, boolean notify) Sets the domain crosshair value. | public void | setDomainCrosshairVisible(boolean flag) Sets the flag indicating whether or not the domain crosshair is visible. | public void | setMissingPaint(Paint paint) Sets the missingPaint. | public void | setPtSizePct(double ptSizePct) Sets the ptSizePct. | public void | setRangeAxis(ValueAxis axis) Sets the range axis for the plot. | public void | setRangeCrosshairLockedOnData(boolean flag) Sets the flag indicating whether or not the range crosshair should
"lock-on" to actual data values. | public void | setRangeCrosshairPaint(Paint paint) Sets the Paint used to color the crosshairs (if visible) and notifies
registered listeners that the axis has been modified. | public void | setRangeCrosshairStroke(Stroke stroke) Sets the Stroke used to draw the crosshairs (if visible) and notifies
registered listeners that the axis has been modified. | public void | setRangeCrosshairValue(double value) Sets the domain crosshair value. | public void | setRangeCrosshairValue(double value, boolean notify) Sets the range crosshair value. | public void | setRangeCrosshairVisible(boolean flag) Sets the flag indicating whether or not the range crosshair is visible. | public void | setRenderAsPoints(boolean renderAsPoints) Sets the renderAsPoints. | public void | setToolTipGenerator(ContourToolTipGenerator generator) Sets the tool tip generator. | public void | setURLGenerator(XYURLGenerator urlGenerator) Sets the URL generator for HTML image maps. | public Range | visibleRange(ContourDataset data, Range x, Range y) Returns the visible z-range.
Parameters: data - the dataset. Parameters: x - the x range. Parameters: y - the y range. | public void | zoom(double percent) Zooms the axis ranges by the specified percentage about the anchor point. | public void | zoomDomainAxes(double x, double y, double factor) Multiplies the range on the domain axis/axes by the specified factor
(to be implemented). | public void | zoomDomainAxes(double x, double y, double lowerPercent, double upperPercent) Zooms the domain axes (not yet implemented). | public void | zoomRangeAxes(double x, double y, double factor) Multiplies the range on the range axis/axes by the specified factor. | public void | zoomRangeAxes(double x, double y, double lowerPercent, double upperPercent) Zooms the range axes (not yet implemented). |
DEFAULT_INSETS | final protected static RectangleInsets DEFAULT_INSETS(Code) | | The default insets.
|
localizationResources | protected static ResourceBundle localizationResources(Code) | | The resourceBundle for the localization.
|
ContourPlot | public ContourPlot()(Code) | | Creates a new plot with no dataset or axes.
|
ContourPlot | public ContourPlot(ContourDataset dataset, ValueAxis domainAxis, ValueAxis rangeAxis, ColorBar colorBar)(Code) | | Constructs a contour plot with the specified axes (other attributes take
default values).
Parameters: dataset - The dataset. Parameters: domainAxis - The domain axis. Parameters: rangeAxis - The range axis. Parameters: colorBar - The z-axis axis. |
addAnnotation | public void addAnnotation(XYAnnotation annotation)(Code) | | Adds an annotation to the plot.
Parameters: annotation - the annotation. |
addDomainMarker | public void addDomainMarker(Marker marker)(Code) | | Adds a marker for the domain axis.
Typically a marker will be drawn by the renderer as a line perpendicular
to the range axis, however this is entirely up to the renderer.
Parameters: marker - the marker. |
addRangeMarker | public void addRangeMarker(Marker marker)(Code) | | Adds a marker for the range axis.
Typically a marker will be drawn by the renderer as a line perpendicular
to the range axis, however this is entirely up to the renderer.
Parameters: marker - The marker. |
axisChanged | public void axisChanged(AxisChangeEvent event)(Code) | | Receives notification of a change to one of the plot's axes.
Parameters: event - information about the event. |
clearAnnotations | public void clearAnnotations()(Code) | | Clears all the annotations.
|
clearDomainMarkers | public void clearDomainMarkers()(Code) | | Clears all the domain markers.
|
clearRangeMarkers | public void clearRangeMarkers()(Code) | | Clears all the range markers.
|
contourRenderer | public void contourRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis horizontalAxis, ValueAxis verticalAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState)(Code) | | Fills the plot.
Parameters: g2 - the graphics device. Parameters: dataArea - the area within which the data is being drawn. Parameters: info - collects information about the drawing. Parameters: plot - the plot (can be used to obtain standard color information etc). Parameters: horizontalAxis - the domain (horizontal) axis. Parameters: verticalAxis - the range (vertical) axis. Parameters: colorBar - the color bar axis. Parameters: data - the dataset. Parameters: crosshairState - information about crosshairs on a plot. |
datasetChanged | public void datasetChanged(DatasetChangeEvent event)(Code) | | Receives notification of a change to the plot's dataset.
The chart reacts by passing on a chart change event to all registered
listeners.
Parameters: event - Information about the event (not used here). |
draw | public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code) | | Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
The optional info argument collects information about the
rendering of the plot (dimensions, tooltip information etc). Just pass
in null if you do not need this information.
Parameters: g2 - the graphics device. Parameters: area - the area within which the plot (including axis labels)should be drawn. Parameters: anchor - the anchor point (null permitted). Parameters: parentState - the state from the parent plot, if there is one. Parameters: info - collects chart drawing information (null permitted). |
drawDomainMarker | public void drawDomainMarker(Graphics2D g2, ContourPlot plot, ValueAxis domainAxis, Marker marker, Rectangle2D dataArea)(Code) | | Draws a vertical line on the chart to represent a 'range marker'.
Parameters: g2 - the graphics device. Parameters: plot - the plot. Parameters: domainAxis - the domain axis. Parameters: marker - the marker line. Parameters: dataArea - the axis data area. |
drawHorizontalLine | protected void drawHorizontalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint)(Code) | | Utility method for drawing a crosshair on the chart (if required).
Parameters: g2 - The graphics device. Parameters: dataArea - The data area. Parameters: value - The coordinate, where to draw the line. Parameters: stroke - The stroke to use. Parameters: paint - The paint to use. |
drawRangeMarker | public void drawRangeMarker(Graphics2D g2, ContourPlot plot, ValueAxis rangeAxis, Marker marker, Rectangle2D dataArea)(Code) | | Draws a horizontal line across the chart to represent a 'range marker'.
Parameters: g2 - the graphics device. Parameters: plot - the plot. Parameters: rangeAxis - the range axis. Parameters: marker - the marker line. Parameters: dataArea - the axis data area. |
drawVerticalLine | protected void drawVerticalLine(Graphics2D g2, Rectangle2D dataArea, double value, Stroke stroke, Paint paint)(Code) | | Utility method for drawing a crosshair on the chart (if required).
Parameters: g2 - The graphics device. Parameters: dataArea - The data area. Parameters: value - The coordinate, where to draw the line. Parameters: stroke - The stroke to use. Parameters: paint - The paint to use. |
getClipPath | public ClipPath getClipPath()(Code) | | Returns the clipPath.
ClipPath |
getColorBar | public ColorBar getColorBar()(Code) | | Returns the colorbar.
The colorbar. |
getColorBarLocation | public RectangleEdge getColorBarLocation()(Code) | | Returns the color bar location.
The color bar location. |
getContourDataRange | public Range getContourDataRange()(Code) | | Returns the range for the Contours.
The range for the Contours (z-axis). |
getDataAreaRatio | public double getDataAreaRatio()(Code) | | Returns the data area ratio.
The ratio. |
getDataRange | public Range getDataRange(ValueAxis axis)(Code) | | Returns the range for an axis.
Parameters: axis - the axis. The range for an axis. |
getDataset | public ContourDataset getDataset()(Code) | | Returns the primary dataset for the plot.
The primary dataset (possibly null ). |
getDomainAxis | public ValueAxis getDomainAxis()(Code) | | Returns the domain axis for the plot.
The domain axis. |
getDomainCrosshairPaint | public Paint getDomainCrosshairPaint()(Code) | | Returns the domain crosshair color.
The crosshair color. |
getDomainCrosshairStroke | public Stroke getDomainCrosshairStroke()(Code) | | Returns the Stroke used to draw the crosshair (if visible).
The crosshair stroke. |
getDomainCrosshairValue | public double getDomainCrosshairValue()(Code) | | Returns the domain crosshair value.
The value. |
getMissingPaint | public Paint getMissingPaint()(Code) | | Returns the missingPaint.
Paint |
getPlotType | public String getPlotType()(Code) | | Returns the plot type as a string.
A short string describing the type of plot. |
getPtSizePct | public double getPtSizePct()(Code) | | Returns the ptSizePct.
double |
getRangeAxis | public ValueAxis getRangeAxis()(Code) | | Returns the range axis for the plot.
The range axis. |
getRangeCrosshairPaint | public Paint getRangeCrosshairPaint()(Code) | | Returns the range crosshair color.
The crosshair color. |
getRangeCrosshairStroke | public Stroke getRangeCrosshairStroke()(Code) | | Returns the Stroke used to draw the crosshair (if visible).
The crosshair stroke. |
getRangeCrosshairValue | public double getRangeCrosshairValue()(Code) | | Returns the range crosshair value.
The value. |
getToolTipGenerator | public ContourToolTipGenerator getToolTipGenerator()(Code) | | Returns the tool tip generator.
The tool tip generator (possibly null). |
getURLGenerator | public XYURLGenerator getURLGenerator()(Code) | | Returns the URL generator for HTML image maps.
The URL generator (possibly null). |
handleClick | public void handleClick(int x, int y, PlotRenderingInfo info)(Code) | | Handles a 'click' on the plot by updating the anchor values...
Parameters: x - x-coordinate, where the click occured. Parameters: y - y-coordinate, where the click occured. Parameters: info - An object for collection dimension information. |
isCompatibleDomainAxis | public boolean isCompatibleDomainAxis(ValueAxis axis)(Code) | | Checks the compatibility of a domain axis, returning true if the axis is
compatible with the plot, and false otherwise.
Parameters: axis - The proposed axis. true if the axis is compatible with the plot. |
isDomainCrosshairLockedOnData | public boolean isDomainCrosshairLockedOnData()(Code) | | Returns a flag indicating whether or not the crosshair should "lock-on"
to actual data values.
The flag. |
isDomainCrosshairVisible | public boolean isDomainCrosshairVisible()(Code) | | Returns a flag indicating whether or not the domain crosshair is visible.
The flag. |
isDomainZoomable | public boolean isDomainZoomable()(Code) | | Returns false .
A boolean. |
isRangeCrosshairLockedOnData | public boolean isRangeCrosshairLockedOnData()(Code) | | Returns a flag indicating whether or not the crosshair should "lock-on"
to actual data values.
The flag. |
isRangeCrosshairVisible | public boolean isRangeCrosshairVisible()(Code) | | Returns a flag indicating whether or not the range crosshair is visible.
The flag. |
isRangeZoomable | public boolean isRangeZoomable()(Code) | | Returns false .
A boolean. |
isRenderAsPoints | public boolean isRenderAsPoints()(Code) | | Returns the renderAsPoints.
boolean |
pointRenderer | public void pointRenderer(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, ContourPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, ColorBar colorBar, ContourDataset data, CrosshairState crosshairState)(Code) | | Draws the visual representation of a single data item.
Parameters: g2 - the graphics device. Parameters: dataArea - the area within which the data is being drawn. Parameters: info - collects information about the drawing. Parameters: plot - the plot (can be used to obtain standard color information etc). Parameters: domainAxis - the domain (horizontal) axis. Parameters: rangeAxis - the range (vertical) axis. Parameters: colorBar - the color bar axis. Parameters: data - the dataset. Parameters: crosshairState - information about crosshairs on a plot. |
propertyChange | public void propertyChange(PropertyChangeEvent event)(Code) | | Notifies all registered listeners of a property change.
One source of property change events is the plot's renderer.
Parameters: event - Information about the property change. |
render | public void render(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, CrosshairState crosshairState)(Code) | | Draws a representation of the data within the dataArea region, using the
current renderer.
The info and crosshairState arguments may be
null .
Parameters: g2 - the graphics device. Parameters: dataArea - the region in which the data is to be drawn. Parameters: info - an optional object for collection dimension information. Parameters: crosshairState - an optional object for collecting crosshair info. |
setClipPath | public void setClipPath(ClipPath clipPath)(Code) | | Sets the clipPath.
Parameters: clipPath - The clipPath to set |
setColorBarAxis | public void setColorBarAxis(ColorBar axis)(Code) | | Sets the colorbar for the plot.
Parameters: axis - The new axis (null permitted). |
setColorBarLocation | public void setColorBarLocation(RectangleEdge edge)(Code) | | Sets the color bar location and sends a
PlotChangeEvent to all
registered listeners.
Parameters: edge - the location. |
setDataAreaRatio | public void setDataAreaRatio(double ratio)(Code) | | Sets the data area ratio.
Parameters: ratio - the ratio. |
setDataset | public void setDataset(ContourDataset dataset)(Code) | | Sets the dataset for the plot, replacing the existing dataset if there
is one.
Parameters: dataset - the dataset (null permitted). |
setDomainAxis | public void setDomainAxis(ValueAxis axis)(Code) | | Sets the domain axis for the plot (this must be compatible with the plot
type or an exception is thrown).
Parameters: axis - The new axis. |
setDomainCrosshairLockedOnData | public void setDomainCrosshairLockedOnData(boolean flag)(Code) | | Sets the flag indicating whether or not the domain crosshair should
"lock-on" to actual data values.
Parameters: flag - the flag. |
setDomainCrosshairPaint | public void setDomainCrosshairPaint(Paint paint)(Code) | | Sets the Paint used to color the crosshairs (if visible) and notifies
registered listeners that the axis has been modified.
Parameters: paint - the new crosshair paint. |
setDomainCrosshairStroke | public void setDomainCrosshairStroke(Stroke stroke)(Code) | | Sets the Stroke used to draw the crosshairs (if visible) and notifies
registered listeners that the axis has been modified.
Parameters: stroke - the new crosshair stroke. |
setDomainCrosshairValue | public void setDomainCrosshairValue(double value)(Code) | | Sets the domain crosshair value.
Registered listeners are notified that the plot has been modified, but
only if the crosshair is visible.
Parameters: value - the new value. |
setDomainCrosshairValue | public void setDomainCrosshairValue(double value, boolean notify)(Code) | | Sets the domain crosshair value.
Registered listeners are notified that the axis has been modified, but
only if the crosshair is visible.
Parameters: value - the new value. Parameters: notify - a flag that controls whether or not listeners are notified. |
setDomainCrosshairVisible | public void setDomainCrosshairVisible(boolean flag)(Code) | | Sets the flag indicating whether or not the domain crosshair is visible.
Parameters: flag - the new value of the flag. |
setMissingPaint | public void setMissingPaint(Paint paint)(Code) | | Sets the missingPaint.
Parameters: paint - the missingPaint to set. |
setPtSizePct | public void setPtSizePct(double ptSizePct)(Code) | | Sets the ptSizePct.
Parameters: ptSizePct - The ptSizePct to set |
setRangeAxis | public void setRangeAxis(ValueAxis axis)(Code) | | Sets the range axis for the plot.
An exception is thrown if the new axis and the plot are not mutually
compatible.
Parameters: axis - The new axis (null permitted). |
setRangeCrosshairLockedOnData | public void setRangeCrosshairLockedOnData(boolean flag)(Code) | | Sets the flag indicating whether or not the range crosshair should
"lock-on" to actual data values.
Parameters: flag - the flag. |
setRangeCrosshairPaint | public void setRangeCrosshairPaint(Paint paint)(Code) | | Sets the Paint used to color the crosshairs (if visible) and notifies
registered listeners that the axis has been modified.
Parameters: paint - the new crosshair paint. |
setRangeCrosshairStroke | public void setRangeCrosshairStroke(Stroke stroke)(Code) | | Sets the Stroke used to draw the crosshairs (if visible) and notifies
registered listeners that the axis has been modified.
Parameters: stroke - the new crosshair stroke. |
setRangeCrosshairValue | public void setRangeCrosshairValue(double value)(Code) | | Sets the domain crosshair value.
Registered listeners are notified that the plot has been modified, but
only if the crosshair is visible.
Parameters: value - the new value. |
setRangeCrosshairValue | public void setRangeCrosshairValue(double value, boolean notify)(Code) | | Sets the range crosshair value.
Registered listeners are notified that the axis has been modified, but
only if the crosshair is visible.
Parameters: value - the new value. Parameters: notify - a flag that controls whether or not listeners are notified. |
setRangeCrosshairVisible | public void setRangeCrosshairVisible(boolean flag)(Code) | | Sets the flag indicating whether or not the range crosshair is visible.
Parameters: flag - the new value of the flag. |
setRenderAsPoints | public void setRenderAsPoints(boolean renderAsPoints)(Code) | | Sets the renderAsPoints.
Parameters: renderAsPoints - The renderAsPoints to set |
setToolTipGenerator | public void setToolTipGenerator(ContourToolTipGenerator generator)(Code) | | Sets the tool tip generator.
Parameters: generator - the tool tip generator (null permitted). |
setURLGenerator | public void setURLGenerator(XYURLGenerator urlGenerator)(Code) | | Sets the URL generator for HTML image maps.
Parameters: urlGenerator - the URL generator (null permitted). |
visibleRange | public Range visibleRange(ContourDataset data, Range x, Range y)(Code) | | Returns the visible z-range.
Parameters: data - the dataset. Parameters: x - the x range. Parameters: y - the y range. The range. |
zoom | public void zoom(double percent)(Code) | | Zooms the axis ranges by the specified percentage about the anchor point.
Parameters: percent - The amount of the zoom. |
zoomDomainAxes | public void zoomDomainAxes(double x, double y, double factor)(Code) | | Multiplies the range on the domain axis/axes by the specified factor
(to be implemented).
Parameters: x - the x-coordinate (in Java2D space). Parameters: y - the y-coordinate (in Java2D space). Parameters: factor - the zoom factor. |
zoomDomainAxes | public void zoomDomainAxes(double x, double y, double lowerPercent, double upperPercent)(Code) | | Zooms the domain axes (not yet implemented).
Parameters: x - the x-coordinate (in Java2D space). Parameters: y - the y-coordinate (in Java2D space). Parameters: lowerPercent - the new lower bound. Parameters: upperPercent - the new upper bound. |
zoomRangeAxes | public void zoomRangeAxes(double x, double y, double factor)(Code) | | Multiplies the range on the range axis/axes by the specified factor.
Parameters: x - the x-coordinate (in Java2D space). Parameters: y - the y-coordinate (in Java2D space). Parameters: factor - the zoom factor. |
zoomRangeAxes | public void zoomRangeAxes(double x, double y, double lowerPercent, double upperPercent)(Code) | | Zooms the range axes (not yet implemented).
Parameters: x - the x-coordinate (in Java2D space). Parameters: y - the y-coordinate (in Java2D space). Parameters: lowerPercent - the new lower bound. Parameters: upperPercent - the new upper bound. |
Methods inherited from org.jfree.chart.plot.Plot | public void addChangeListener(PlotChangeListener listener)(Code)(Java Doc) public void axisChanged(AxisChangeEvent event)(Code)(Java Doc) public Object clone() throws CloneNotSupportedException(Code)(Java Doc) public void datasetChanged(DatasetChangeEvent event)(Code)(Java Doc) abstract public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)(Java Doc) public void drawBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) public void drawBackgroundImage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) protected void drawNoDataMessage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) public void drawOutline(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) protected void fillBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) protected void fillBackground(Graphics2D g2, Rectangle2D area, PlotOrientation orientation)(Code)(Java Doc) public float getBackgroundAlpha()(Code)(Java Doc) public Image getBackgroundImage()(Code)(Java Doc) public int getBackgroundImageAlignment()(Code)(Java Doc) public float getBackgroundImageAlpha()(Code)(Java Doc) public Paint getBackgroundPaint()(Code)(Java Doc) public DatasetGroup getDatasetGroup()(Code)(Java Doc) public DrawingSupplier getDrawingSupplier()(Code)(Java Doc) public float getForegroundAlpha()(Code)(Java Doc) public RectangleInsets getInsets()(Code)(Java Doc) public LegendItemCollection getLegendItems()(Code)(Java Doc) public String getNoDataMessage()(Code)(Java Doc) public Font getNoDataMessageFont()(Code)(Java Doc) public Paint getNoDataMessagePaint()(Code)(Java Doc) public Paint getOutlinePaint()(Code)(Java Doc) public Stroke getOutlineStroke()(Code)(Java Doc) public Plot getParent()(Code)(Java Doc) abstract public String getPlotType()(Code)(Java Doc) protected double getRectX(double x, double w1, double w2, RectangleEdge edge)(Code)(Java Doc) protected double getRectY(double y, double h1, double h2, RectangleEdge edge)(Code)(Java Doc) public Plot getRootPlot()(Code)(Java Doc) public void handleClick(int x, int y, PlotRenderingInfo info)(Code)(Java Doc) public boolean isOutlineVisible()(Code)(Java Doc) public boolean isSubplot()(Code)(Java Doc) public void markerChanged(MarkerChangeEvent event)(Code)(Java Doc) public void notifyListeners(PlotChangeEvent event)(Code)(Java Doc) public void removeChangeListener(PlotChangeListener listener)(Code)(Java Doc) public static RectangleEdge resolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc) public static RectangleEdge resolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc) public void setBackgroundAlpha(float alpha)(Code)(Java Doc) public void setBackgroundImage(Image image)(Code)(Java Doc) public void setBackgroundImageAlignment(int alignment)(Code)(Java Doc) public void setBackgroundImageAlpha(float alpha)(Code)(Java Doc) public void setBackgroundPaint(Paint paint)(Code)(Java Doc) protected void setDatasetGroup(DatasetGroup group)(Code)(Java Doc) public void setDrawingSupplier(DrawingSupplier supplier)(Code)(Java Doc) public void setForegroundAlpha(float alpha)(Code)(Java Doc) public void setInsets(RectangleInsets insets)(Code)(Java Doc) public void setInsets(RectangleInsets insets, boolean notify)(Code)(Java Doc) public void setNoDataMessage(String message)(Code)(Java Doc) public void setNoDataMessageFont(Font font)(Code)(Java Doc) public void setNoDataMessagePaint(Paint paint)(Code)(Java Doc) public void setOutlinePaint(Paint paint)(Code)(Java Doc) public void setOutlineStroke(Stroke stroke)(Code)(Java Doc) public void setOutlineVisible(boolean visible)(Code)(Java Doc) public void setParent(Plot parent)(Code)(Java Doc) public void zoom(double percent)(Code)(Java Doc)
|
|
|