org.mbari.siam.moos.utils.node
Class SiamMeterPlot
java.lang.Object
com.jrefinery.chart.Plot
com.jrefinery.chart.MeterPlot
org.mbari.siam.moos.utils.node.SiamMeterPlot
- All Implemented Interfaces:
- AxisConstants, com.jrefinery.chart.event.AxisChangeListener, DatasetChangeListener
public class SiamMeterPlot
- extends MeterPlot
A general class for plotting data in the form of (x, y) pairs. XYPlot can use data from any
class that implements the XYDataset interface (in the com.jrefinery.data package org.mbari.siam.moos.utils.node).
XYPlot makes use of a renderer to draw each point on the plot. By using different renderers,
various chart types can be produced. The ChartFactory class contains static methods for
creating pre-configured charts.
| Fields inherited from class com.jrefinery.chart.MeterPlot |
CRITICAL_TEXT, DEFAULT_BACKGROUND_COLOR, DEFAULT_BORDER_SIZE, DEFAULT_CIRCLE_SIZE, DEFAULT_LABEL_FONT, DEFAULT_METER_ANGLE, dialBorderColor, dialType, DIALTYPE_CHORD, DIALTYPE_CIRCLE, DIALTYPE_PIE, drawBorder, labelFont, labelType, meterAngle, meterCalcAngle, meterRange, minMeterValue, NO_LABELS, NORMAL_TEXT, tickUnit, tickUnits, VALUE_LABELS, WARNING_TEXT |
| 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 |
| Methods inherited from class com.jrefinery.chart.MeterPlot |
draw, getCriticalColor, getDialBorderColor, getDialType, getDrawBorder, getLabelFont, getLabelType, getLegendItemLabels, getMeterAngle, getMeterDataset, getNormalColor, getPlotType, getWarningColor, isCompatibleHorizontalAxis, isCompatibleVerticalAxis, setCriticalColor, setDialBorderColor, setDialType, setDrawBorder, setLabelFont, setLabelType, setMeterAngle, setNormalColor, setWarningColor, zoom |
| Methods inherited from class com.jrefinery.chart.Plot |
addChangeListener, axisChanged, datasetChanged, drawOutlineAndBackground, getBackgroundAlpha, getBackgroundPaint, getDataset, getFirstSeriesIndex, getForegroundAlpha, getInsets, getOutlinePaint, getOutlineStroke, getSeriesOutlinePaint, getSeriesOutlineStroke, getSeriesPaint, getSeriesStroke, getShape, getShape, getShapeFactory, handleClick, isSubplot, notifyListeners, removeChangeListener, setBackgroundAlpha, setBackgroundImage, setBackgroundPaint, setDataset, setFirstSeriesIndex, setForegroundAlpha, setInsets, setOutlinePaint, setOutlineStroke, setSeriesOutlinePaint, setSeriesOutlineStroke, setSeriesOutlineStroke, setSeriesPaint, setSeriesPaint, setSeriesStroke, setSeriesStroke, setShapeFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiamMeterPlot
public SiamMeterPlot(SiamMeterDataset data)
- Constructs a MeterPlot with the specified axes (other attributes take default values).
draw
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
ChartRenderingInfo info,
Dataset dataset)
handleClick
public void handleClick(int x,
int y,
java.awt.geom.Rectangle2D plotArea)
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.