|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.chart.Plot
com.jrefinery.chart.XYPlot
com.jrefinery.chart.CombinedXYPlot
org.mbari.siam.moos.utils.node.SiamCombinedXYPlot
public class SiamCombinedXYPlot
An extension of XYPlot that can contain multiple subplots, laid out horizontally or vertically.
This class was originally written by Bill Kelemen, and has since been modified extensively by David Gilbert.
| Field Summary |
|---|
| Fields inherited from class com.jrefinery.chart.CombinedXYPlot |
|---|
gap, HORIZONTAL, seriesCount, subPlotArea, subplots, totalWeight, type, VERTICAL |
| Fields inherited from class com.jrefinery.chart.XYPlot |
|---|
domainAxis, horizontalColors, horizontalLines, parent, rangeAxis, renderer, verticalColors, verticalLines, weight |
| Fields inherited from class com.jrefinery.chart.Plot |
|---|
backgroundAlpha, backgroundImage, backgroundPaint, dataset, DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_INSETS, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, firstSeriesIndex, foregroundAlpha, insets, listeners, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, outlinePaint, outlineStroke, seriesOutlinePaint, seriesOutlineStroke, seriesPaint, seriesStroke, shapeFactory, ZERO |
| Fields inherited from interface com.jrefinery.chart.AxisConstants |
|---|
DEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_TICK_LABEL_FONT, DEFAULT_TICK_LABEL_INSETS, DEFAULT_TICK_LABEL_PAINT, DEFAULT_TICK_STROKE |
| Constructor Summary | |
|---|---|
SiamCombinedXYPlot(ValueAxis axis,
int type)
Creates a new MultiXYPlot. |
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
ChartRenderingInfo info)
subclasses should call super and override specific behavior |
void |
zoom(double percent)
A zoom method that does nothing. |
| Methods inherited from class com.jrefinery.chart.CombinedXYPlot |
|---|
add, getDataset, getHorizontalDataRange, getLegendItemLabels, getNoSubPlot, getPlotType, getSubPlot, getVerticalDataRange, handleClick, isValidSubHorizontalAxis, isValidSubVerticalAxis, setHorizontalAxisHeight, setVerticalAxisWidth, test |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SiamCombinedXYPlot(ValueAxis axis,
int type)
If the layout type is HORIZONTAL, you need to supply a vertical axis to be shared by the subplots. If the layout type is VERTICAL, you need to supply a horizontal axis to be shared by the subplots.
axis - The shared axis.type - The layout type (HORIZONTAL or VERTICAL).| Method Detail |
|---|
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
ChartRenderingInfo info)
draw in class CombinedXYPlotg2 - The graphics device.plotArea - The area within which the plot (including axis labels) should be drawn.info - Information about the drawing.public void zoom(double percent)
zoom in class CombinedXYPlotpercent - The zoom percentage.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||