public class D3PlotInfo extends TDDataInfo
UNITS_ANGLE, UNITS_TEMPERATURE
Constructor and Description |
---|
D3PlotInfo(D3Control d3Control,
D3DataPlotProvider tdDataProvider,
TDGraph tdGraph,
D3DataBlock d3DataBlock) |
Modifier and Type | Method and Description |
---|---|
void |
clearDraw()
Clear any residual drawing objects that get held between calls,
e.g.
|
java.awt.Polygon |
drawDataUnit(PamDataUnit pamDataUnit,
java.awt.Graphics g,
java.awt.Rectangle windowRect,
int orientation,
PamAxis timeAxis,
long scrollStart,
PamAxis yAxis,
int type)
Draw a data unit.
|
java.lang.Double |
getDataValue(PamDataUnit pamDataUnit)
Gets a value for a specific data unit which should be in the
same units as the scale information.
|
TDSymbolChooser |
getSymbolChooser() |
void |
notifyModelChanged(int changeType)
Get notifications from the main controller.
|
addDataUnits, drawData, drawHighLightData, editOptions, getCurrentDataLine, getCurrentDataLineIndex, getDataBlock, getDataDimensions, getDataLineInfos, getDataName, getDataProvider, getFixedScaleInformation, getHidingDialogComponent, getScaleInformation, getShortName, getStoredSettings, getTdGraph, getToolTipText, hasAxisName, hasOptions, isShowing, removeData, selectDataLine, setCurrentAxisName, setFixedScaleInformation, setShowing, setStoredSettings, timeRangeSpinnerChange, timeScrollRangeChanged, timeScrollValueChanged
public D3PlotInfo(D3Control d3Control, D3DataPlotProvider tdDataProvider, TDGraph tdGraph, D3DataBlock d3DataBlock)
public java.lang.Double getDataValue(PamDataUnit pamDataUnit)
TDDataInfo
getDataValue
in class TDDataInfo
public java.awt.Polygon drawDataUnit(PamDataUnit pamDataUnit, java.awt.Graphics g, java.awt.Rectangle windowRect, int orientation, PamAxis timeAxis, long scrollStart, PamAxis yAxis, int type)
TDDataInfo
drawDataUnit
in class TDDataInfo
pamDataUnit
- data unit to drawg
- graphics handle to draw onorientation
- orientation of the displaytimeAxis
- start time of the displayyAxis
- yAxis (used for scale information for the data point)type
- flag for which type of symbol to draw. e.g normal or highlighted.public TDSymbolChooser getSymbolChooser()
getSymbolChooser
in class TDDataInfo
public void notifyModelChanged(int changeType)
TDDataInfo
notifyModelChanged
in class TDDataInfo
public void clearDraw()
TDDataInfo
clearDraw
in class TDDataInfo