public class TimeSeriesChart extends XYChartManager
XYChartManager.CloudCoverageRenderer, XYChartManager.MyXYAreaRenderer, XYChartManager.MyXYBarRenderer, XYChartManager.MyXYPlot, XYChartManager.TextRenderer, XYChartManager.WindbarbRenderer
ChartManager.FixedWidthLogarithmicAxis, ChartManager.FixedWidthNumberAxis
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MACRO_PARAMETER
macro for substituting the param name into the chart line name
|
AXIS_WIDTH, chartHolders, contents, control, LAYOUT_2COLGRID, LAYOUT_3COLGRID, LAYOUT_CARD, LAYOUT_GRAPH, LAYOUT_HSTACK, LAYOUT_TAB, LAYOUT_VSTACK, MUTEX, okToDraw, settingData
Constructor and Description |
---|
TimeSeriesChart()
ctor
|
TimeSeriesChart(DisplayControlImpl control)
Default constructor.
|
TimeSeriesChart(DisplayControlImpl control,
java.lang.String chartName)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.jfree.chart.axis.Axis |
addSeries(org.jfree.data.time.TimeSeries series,
LineState lineState,
int paramIdx,
org.jfree.chart.renderer.xy.XYItemRenderer renderer,
boolean rangeVisible)
Add the series
|
protected org.jfree.chart.axis.Axis |
addSeries(org.jfree.data.time.TimeSeries series,
LineState lineState,
int paramIdx,
org.jfree.chart.renderer.xy.XYItemRenderer renderer,
boolean rangeVisible,
boolean addAxis)
Add the series
|
org.jfree.chart.plot.Plot |
doMakePlot()
Make the plot
|
java.lang.String |
getDateFormat()
Get the date format
|
org.jfree.data.xy.XYDataset |
getDummyDataset()
utility
|
boolean |
getShowAnimationTime()
Get the ShowAnimationTime property.
|
protected void |
initPlot(org.jfree.chart.plot.Plot plot)
init plot
|
void |
setDateFormat(java.lang.String format)
Set the date format
|
void |
setLocation(ucar.unidata.geoloc.LatLonPoint llp)
Set the location for this chart
|
void |
setPointObs(java.util.List<PointOb> obs,
java.util.List plotVars)
set chart from point data
|
void |
setProbeSamples(java.util.List<ProbeRowInfo> rowInfos)
Set the samples from the probe
|
void |
setProbeSamplesInner()
Set samples
|
void |
setShowAnimationTime(boolean value)
Set the ShowAnimationTime property.
|
void |
setTracks(java.util.List<LineState> lines)
set chart from track data
|
void |
showAnimationTime(boolean value)
Show time
|
addChart, getRenderer, getRenderer, setEmptyChartLabel
addLineState, addRange, addViewMenuItems, applyProperties, chartNameChanged, clearLineStates, doMakeContents, doneLoadingData, editLayout, findChartHolder, getChartHolder, getChartHolder, getChartHolders, getContents, getControl, getCurrentRanges, getDefaultChartName, getGridLayoutDimension, getLayout, getMutex, getOkToDraw, getPlotNames, getPlots, getPopupMenuItems, getPreferredChartSize, getPropertiesComponents, getSettingData, getShowThumb, getThumb, hasStuff, imageUpdate, initChart, initCharts, makeInitialChart, saveImage, setChartHolders, setChartName, setControl, setGridLayoutDimension, setLayout, setLayoutType, setShowThumb, showPropertiesDialog, signalChartChanged, startLoadingData, timeChanged, timeChanged, updateContents, updateContents, updateThumb, updateThumbInner
public static final java.lang.String MACRO_PARAMETER
public TimeSeriesChart()
public TimeSeriesChart(DisplayControlImpl control)
control
- control that this is associated withpublic TimeSeriesChart(DisplayControlImpl control, java.lang.String chartName)
control
- control that this is associated withchartName
- name for the chartpublic org.jfree.chart.plot.Plot doMakePlot()
doMakePlot
in class ChartManager
public void showAnimationTime(boolean value)
value
- show timeprotected org.jfree.chart.axis.Axis addSeries(org.jfree.data.time.TimeSeries series, LineState lineState, int paramIdx, org.jfree.chart.renderer.xy.XYItemRenderer renderer, boolean rangeVisible)
series
- The datalineState
- describes how to draw the lineparamIdx
- which parameterrenderer
- rendererrangeVisible
- do we show range axisprotected org.jfree.chart.axis.Axis addSeries(org.jfree.data.time.TimeSeries series, LineState lineState, int paramIdx, org.jfree.chart.renderer.xy.XYItemRenderer renderer, boolean rangeVisible, boolean addAxis)
series
- The datalineState
- describes how to draw the lineparamIdx
- which parameterrenderer
- rendererrangeVisible
- do we show range axisaddAxis
- include the axispublic void setProbeSamples(java.util.List<ProbeRowInfo> rowInfos) throws visad.VisADException, java.rmi.RemoteException
rowInfos
- the datajava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnessprotected void initPlot(org.jfree.chart.plot.Plot plot)
initPlot
in class ChartManager
plot
- plotpublic void setProbeSamplesInner() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void setPointObs(java.util.List<PointOb> obs, java.util.List plotVars) throws visad.VisADException, java.rmi.RemoteException
obs
- obsplotVars
- the vars to plotjava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void setTracks(java.util.List<LineState> lines) throws visad.VisADException, java.rmi.RemoteException
lines
- LineStatesjava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void setShowAnimationTime(boolean value)
value
- The new value for ShowAnimationTimepublic boolean getShowAnimationTime()
public org.jfree.data.xy.XYDataset getDummyDataset()
public void setLocation(ucar.unidata.geoloc.LatLonPoint llp)
llp
- the locationpublic void setDateFormat(java.lang.String format)
format
- the date formatpublic java.lang.String getDateFormat()