public class VerticalProfileChart extends XYChartManager
XYChartManager.CloudCoverageRenderer, XYChartManager.MyXYAreaRenderer, XYChartManager.MyXYBarRenderer, XYChartManager.MyXYPlot, XYChartManager.TextRenderer, XYChartManager.WindbarbRenderer
ChartManager.FixedWidthLogarithmicAxis, ChartManager.FixedWidthNumberAxis
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 |
---|
VerticalProfileChart()
Default ctor
|
VerticalProfileChart(DisplayControlImpl control)
Default constructor.
|
VerticalProfileChart(DisplayControlImpl control,
java.lang.String chartName)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.jfree.chart.axis.Axis |
addSeries(org.jfree.data.xy.XYSeries series,
LineState lineState,
int paramIdx,
org.jfree.chart.renderer.xy.XYItemRenderer renderer,
boolean rangeVisible)
Add a series to the charts
|
org.jfree.chart.plot.Plot |
doMakePlot()
Make the plot
|
org.jfree.data.xy.XYDataset |
getDummyDataset()
Get a dummy dataset for the plot
|
boolean |
getIsConservedSounding() |
protected java.awt.Dimension |
getPreferredChartSize()
Get the preferred chart size
|
protected void |
initPlot(org.jfree.chart.plot.Plot plot)
Initialize the plot
|
void |
setIsConservedSounding(boolean isConservedSounding) |
void |
setProfiles(java.util.List vpInfos)
Set the profiles for this chart
|
void |
timeChanged(visad.Real time)
A time changed method that passes in the 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, getPropertiesComponents, getSettingData, getShowThumb, getThumb, hasStuff, imageUpdate, initChart, initCharts, makeInitialChart, saveImage, setChartHolders, setChartName, setControl, setGridLayoutDimension, setLayout, setLayoutType, setShowThumb, showPropertiesDialog, signalChartChanged, startLoadingData, timeChanged, updateContents, updateContents, updateThumb, updateThumbInner
public VerticalProfileChart()
public VerticalProfileChart(DisplayControlImpl control)
control
- the control to associate withpublic VerticalProfileChart(DisplayControlImpl control, java.lang.String chartName)
control
- the control to associate withchartName
- the name for the chartprotected org.jfree.chart.axis.Axis addSeries(org.jfree.data.xy.XYSeries series, LineState lineState, int paramIdx, org.jfree.chart.renderer.xy.XYItemRenderer renderer, boolean rangeVisible)
series
- serieslineState
- line stateparamIdx
- param indexrenderer
- rendererrangeVisible
- range visiblepublic void timeChanged(visad.Real time)
timeChanged
in class ChartManager
time
- the timepublic void setProfiles(java.util.List vpInfos) throws visad.VisADException, java.rmi.RemoteException
vpInfos
- the list of VerticalProfileInfosjava.rmi.RemoteException
- Java RMI Exceptionvisad.VisADException
- VisAD problemprotected void initPlot(org.jfree.chart.plot.Plot plot)
initPlot
in class ChartManager
plot
- the plot to initializeprotected java.awt.Dimension getPreferredChartSize()
getPreferredChartSize
in class ChartManager
public org.jfree.chart.plot.Plot doMakePlot()
doMakePlot
in class ChartManager
public org.jfree.data.xy.XYDataset getDummyDataset()
public boolean getIsConservedSounding()
public void setIsConservedSounding(boolean isConservedSounding)