lt.monarch.chart.chart2D.series
Class ContourSeries
java.lang.Object
lt.monarch.chart.engine.AbstractChartObject<Tags>
lt.monarch.chart.AbstractChartSeries<SeriesPaintTags,Projector2D>
lt.monarch.chart.chart2D.series.ContourSeries
- All Implemented Interfaces:
- java.io.Serializable, ChartEntity, ChartObject, ChartSeries, StyleEditorEntity
public class ContourSeries
extends AbstractChartSeries<SeriesPaintTags,Projector2D>
implements java.io.Serializable
- See Also:
- Serialized Form
| Fields inherited from class lt.monarch.chart.AbstractChartSeries |
metaModel, model, modelValidator, seriesName, seriesTransform, showLegend, showNullValues, symbol, xMapper, yMapper, zMapper |
Constructor Summary
ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
|
ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
|
ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper,
PlaneMapper mapper)
|
ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
PlaneMapper mapper)
|
ContourSeries(MatrixDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper)
|
ContourSeries(MatrixDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
|
ContourSeries(MatrixDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper,
PlaneMapper mapper)
|
| Methods inherited from class lt.monarch.chart.AbstractChartSeries |
activate, checkDataModelRequirements, createLegendEntry, createLegendSymbol, deactivate, fillEntitySheet, getChartObjectBounds, getDataModel, getDescription, getMetaDataModel, getModelValidator, getName, getNearestChildEntity, getParentEntity, getProjector, getSeriesColor, getShortDescription, getShowNullValues, getSortPosition, getXMapper, getYMapper, getZMapper, handleDataModelChangeEvent, setLegendSymbol, setName, setShowNullValues, setValidateData, showLegend, updateClippingToProjector |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
chart, copy, dispose, finalize, getChart, getPaintStyle, getParent, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapper
protected PlaneMapper mapper
- The plane mapper
strategy
protected ContourStrategy<Projector2D> strategy
contourLevels
protected double[] contourLevels
palette
protected ColorPalette palette
color
protected java.awt.Color[] color
wireFrame
protected boolean wireFrame
markerData
protected ArrayDataModel markerData
aspectRatio
protected AspectRatio aspectRatio
aspectSquare43
protected static final double aspectSquare43
- See Also:
- Constant Field Values
aspectGold
protected static final double aspectGold
orgXextent
protected java.lang.Double orgXextent
orgYextent
protected java.lang.Double orgYextent
ContourSeries
public ContourSeries(MatrixDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper,
PlaneMapper mapper)
ContourSeries
public ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
PlaneMapper mapper)
ContourSeries
public ContourSeries(MatrixDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper)
ContourSeries
public ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
ContourSeries
public ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper,
PlaneMapper mapper)
ContourSeries
public ContourSeries(MatrixDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
ContourSeries
public ContourSeries(MatrixDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
getLegendEntries
public LegendEntry[] getLegendEntries()
getPaletteCopy
public java.awt.Color[] getPaletteCopy()
draw
public void draw(AbstractGraphics g)
- Description copied from interface:
ChartObject
- Renders chart object on the Graphics context.
- Specified by:
draw in interface ChartObject
- Overrides:
draw in class AbstractChartSeries<SeriesPaintTags,Projector2D>
- Parameters:
g - graphics context
adjustAspectRatio
protected void adjustAspectRatio(java.awt.Rectangle screen,
double xExtent,
double yExtent)
setContourCount
public void setContourCount(int count)
setContourLevels
public void setContourLevels(double[] levels)
setNormContourLevels
public void setNormContourLevels(double[] levels)
setColorPalette
public void setColorPalette(java.awt.Color[] colors)
- Sets a image palette.
- Parameters:
palette - fill palette
setColorPallete
public void setColorPallete(int levelCount)
setColorPalette
public void setColorPalette(ColorPalette palette,
int levelCount)
- Sets a image palette.
- Parameters:
palette - fill palettelevelCount - level count in the palette
setWireFrame
public void setWireFrame(boolean enable)
isWireFrame
public boolean isWireFrame()
getContourLevels
public double[] getContourLevels()
getColorPalette
public java.awt.Color[] getColorPalette()
createLegendEntries
public LegendEntry[] createLegendEntries()
- Description copied from class:
AbstractChartSeries
- Creates legend entries for the series.
- Specified by:
createLegendEntries in interface ChartSeries
- Overrides:
createLegendEntries in class AbstractChartSeries<SeriesPaintTags,Projector2D>
- Returns:
- legend entries
getMaxValue
public java.lang.Object getMaxValue(DataColumnType valType)
- Description copied from class:
AbstractChartSeries
- Note: internal use only!
Gets maximum value that is used by series to fit into the chart
- Specified by:
getMaxValue in class AbstractChartSeries<SeriesPaintTags,Projector2D>
- Parameters:
valType - data value column
- Returns:
- maximum value needed
getMinValue
public java.lang.Object getMinValue(DataColumnType valType)
- Description copied from class:
AbstractChartSeries
- Note: internal use only!
Gets minimum value that is used by series to fit into the chart
- Specified by:
getMinValue in class AbstractChartSeries<SeriesPaintTags,Projector2D>
- Parameters:
valType - data value column
- Returns:
- minimum value needed
setMarkers
public void setMarkers(Marker marker,
ArrayDataModel markerData)
getAspectRatio
public AspectRatio getAspectRatio()
setAspectRatio
public void setAspectRatio(AspectRatio aspectRatio)