|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.AbstractChartObject<Tags>
lt.monarch.chart.AbstractChartSeries<Tags,ChartProjector>
lt.monarch.chart.chart2D.series.MarkerDecorableSeries<SeriesPaintTags,Projector2D>
lt.monarch.chart.chart2D.series.BubbleSeries
public class BubbleSeries extends MarkerDecorableSeries<SeriesPaintTags,Projector2D>
Bubble series.
| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class lt.monarch.chart.chart2D.series.MarkerDecorableSeries |
|---|
MarkerDecorableSeries.MarkerEntity |
| Modifier and Type | Field and Description |
|---|---|
protected PlaneMapper |
mapper
the plane mapper |
protected java.util.Map<DataColumnType,MinMaxValues> |
minMaxValues
Minimum and Maximum values |
protected ArrayDataModel |
model
Chart data model |
protected Point2D |
planePoint
Plane point |
protected GeneralPoint |
tempPoint
Temporary projection point |
| Fields inherited from class lt.monarch.chart.chart2D.series.MarkerDecorableSeries |
|---|
baseValue, colorMapper, markerPainter, markers, pseudoModel |
| Fields inherited from class lt.monarch.chart.AbstractChartSeries |
|---|
metaModel, 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 and Description |
|---|
BubbleSeries(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
Bubble series constructor without a meta data model and default plane mapper is for Cartesian coordinates. |
BubbleSeries(ArrayDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper)
Constructs a new Bubble series. |
BubbleSeries(ArrayDataModel model,
MetaDataModel metaModel,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
Constructs a new Bubble series |
BubbleSeries(ArrayDataModel model,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
Bubble series constructor without a meta data model |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(AbstractGraphics g)
Renders chart object on the Graphics context. |
double |
getBubbleRadius(double value,
Projector prj)
Maps value from data model to bubble radius. |
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 |
protected Point2D |
projectPoint(Projector projector,
GeneralPoint ptt,
Point2D planePoint,
double x,
double y)
Projects the point |
void |
setBubblesRadiusRange(double min,
double max)
Sets bubble radius variation range. |
void |
setPrimitive(Shapes primitive)
Sets primitive of the bubble shape |
| Methods inherited from class lt.monarch.chart.chart2D.series.MarkerDecorableSeries |
|---|
addMarker, addMarker, addMarker, calculateNullValue, copy, dataConstraintExtraction, drawMarkers, drawMarkers, generateConstaint, getBaseValue, getColorMapper, getKeyType, getMarkerConstraints, getMarkers, getMarkerStyle, getPaintMode, getPointForConstraint, getSortPosition, layout, mapMinMaxValue, removeMarker, setBaseValue, setColorMapper, setPaintMode |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
chart, copy, dispose, finalize, getChart, getPaintStyle, getParent, getStyle, getStyle, invalidate, isVisible, 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, repaint, repaint, setChart |
| Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity |
|---|
getParent, getStyle |
| Field Detail |
|---|
protected GeneralPoint tempPoint
protected Point2D planePoint
protected java.util.Map<DataColumnType,MinMaxValues> minMaxValues
protected PlaneMapper mapper
protected ArrayDataModel model
| Constructor Detail |
|---|
public BubbleSeries(ArrayDataModel model,
MetaDataModel metaModel,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
model - chart data modelmetaModel - meta data modelmapper - mapper, used to map output to a plane in a n-dimensional spacexMapper - x axis mapperyMapper - y axis mapper
public BubbleSeries(ArrayDataModel model,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
model - chart data modelmapper - mapper, used to map output to a plane in a n-dimensional spacexMapper - x axis mapperyMapper - y axis mapper
public BubbleSeries(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
model - chart data modelxMapper - x axis mapperyMapper - y axis mapper
public BubbleSeries(ArrayDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper)
model - chart data modelmetaModel - meta data modelxMapper - x axis mapperyMapper - y axis mapper| Method Detail |
|---|
public double getBubbleRadius(double value,
Projector prj)
value - value from data model to be mapped to bubble radiusprj - projector of chartpublic void draw(AbstractGraphics g)
ChartObject
draw in interface ChartObjectdraw in class MarkerDecorableSeries<SeriesPaintTags,Projector2D>g - graphics context
protected Point2D projectPoint(Projector projector,
GeneralPoint ptt,
Point2D planePoint,
double x,
double y)
projector - projectorptt - template pointplanePoint - template point to map plane coordinatesx - x coordinate to mapy - y coordinate to map
public void setBubblesRadiusRange(double min,
double max)
min - lower range boundmax - upper range boundpublic void setPrimitive(Shapes primitive)
primitive - bubble shape primitivepublic java.lang.Object getMaxValue(DataColumnType valType)
AbstractChartSeries
getMaxValue in class MarkerDecorableSeries<SeriesPaintTags,Projector2D>valType - data value columnpublic java.lang.Object getMinValue(DataColumnType valType)
AbstractChartSeries
getMinValue in class MarkerDecorableSeries<SeriesPaintTags,Projector2D>valType - data value column
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||