lt.monarch.chart.chart2D.series
Class BoxWhiskerSeries

java.lang.Object
  extended by lt.monarch.chart.engine.AbstractChartObject<Tags>
      extended by lt.monarch.chart.AbstractChartSeries<SeriesPaintTags,Projector2D>
          extended by lt.monarch.chart.chart2D.series.BoxWhiskerSeries
All Implemented Interfaces:
java.io.Serializable, ChartEntity, ChartObject, ChartSeries, StyleEditorEntity

public class BoxWhiskerSeries
extends AbstractChartSeries<SeriesPaintTags,Projector2D>

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.AbstractChartSeries
metaModel, model, modelValidator, seriesName, seriesTransform, showLegend, showNullValues, symbol, xMapper, yMapper, zMapper
 
Fields inherited from class lt.monarch.chart.engine.AbstractChartObject
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style
 
Constructor Summary
Constructor and Description
BoxWhiskerSeries(ChartDataModel boxData, ChartDataModel topWhiskerData, ChartDataModel bottomWhiskerData, AxisMapper xMapper, AxisMapper yMapper)
           
 
Method Summary
Modifier and Type Method and Description
 void draw(AbstractGraphics g)
          Renders chart object on the Graphics context.
 double[][] getBottomWhisker()
           
 java.lang.Object getMaxValue(DataColumnType valType)
          Note: internal use only! Gets maximum value that is used by series to fit into the chart
 java.lang.Object getMinValue(DataColumnType valType)
          Note: internal use only! Gets minimum value that is used by series to fit into the chart
 Orientation getOrientation()
           
 PaintStyle<AbstractPaintTags> getWhiskerLineStyle()
           
 AbstractMarker getWhiskerMarker()
           
 void setBottomWhisker(double[][] bottomWhisker)
           
 void setOrientation(Orientation orientation)
           
 void setWhiskerMarker(AbstractMarker whiskerMarker)
           
 void updateChildSeries()
           
 
Methods inherited from class lt.monarch.chart.AbstractChartSeries
activate, checkDataModelRequirements, createLegendEntries, 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
 
Methods inherited from interface lt.monarch.chart.engine.ChartObject
dispose, getChart, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart
 
Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity
getParent, getStyle
 

Constructor Detail

BoxWhiskerSeries

public BoxWhiskerSeries(ChartDataModel boxData,
                        ChartDataModel topWhiskerData,
                        ChartDataModel bottomWhiskerData,
                        AxisMapper xMapper,
                        AxisMapper yMapper)
Method Detail

updateChildSeries

public void updateChildSeries()

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

getOrientation

public Orientation getOrientation()

setOrientation

public void setOrientation(Orientation orientation)

getWhiskerMarker

public AbstractMarker getWhiskerMarker()

setWhiskerMarker

public void setWhiskerMarker(AbstractMarker whiskerMarker)

getBottomWhisker

public double[][] getBottomWhisker()

setBottomWhisker

public void setBottomWhisker(double[][] bottomWhisker)

getWhiskerLineStyle

public PaintStyle<AbstractPaintTags> getWhiskerLineStyle()

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