|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.AbstractView<PaintTags>
lt.monarch.chart.AbstractChart<PaintTags,GeneralProjector>
lt.monarch.chart.MultiSeriesChartBase<ChartPaintTags,Projector2D>
lt.monarch.chart.chart2D.Chart2D
lt.monarch.chart.spc.SpcChart
lt.monarch.chart.spc.DotPlotChart
public class DotPlotChart extends SpcChart
SPC chart - Data Plot Chart. Default orientation is Vertical. Dot plot chart
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DotPlotChart.UComparator
Compare two doubles |
| Modifier and Type | Field and Description |
|---|---|
protected DotPlotValuesCalculator |
calc
|
protected boolean |
chartInitialized
|
protected ChartObject[] |
chartObjects
|
protected java.util.Comparator<java.lang.Object> |
comparator
|
protected java.util.ArrayList<ChartDataModel> |
models
|
protected Orientation |
orientation
|
protected java.util.ArrayList<LineSeries> |
series
|
protected AbstractMarker |
seriesMarker
|
protected int |
size
|
protected AxisMapper |
xMapper
|
protected AxisMapper |
yMapper
|
| Fields inherited from class lt.monarch.chart.spc.SpcChart |
|---|
bottomAxis, dataModel, grid, leftAxis, rightAxis |
| Fields inherited from class lt.monarch.chart.chart2D.Chart2D |
|---|
projector |
| Fields inherited from class lt.monarch.chart.AbstractChart |
|---|
draftMode, locale, plugins |
| Fields inherited from class lt.monarch.chart.AbstractView |
|---|
layoutInvalid, paintStyle, style |
| Constructor and Description |
|---|
DotPlotChart()
Constructs dot plot chart with empty data model and vertical orientation |
DotPlotChart(ChartDataModel dataModel)
Constructs dot plot chart with the given data model and vertical orientation |
DotPlotChart(ChartDataModel dataModel,
Orientation orientation)
Constructs dot plot chart with the given data model and orientation |
DotPlotChart(Orientation orientation)
Constructs dot plot chart with empty data model and given orientation |
| Modifier and Type | Method and Description |
|---|---|
protected LineSeries |
createSingleSeries(ChartDataModel data)
Creates single LineSeries object |
protected LabelAxisMapper |
getLabelAxisMapper()
Return label axis mapper |
protected MathAxisMapper |
getMathAxisMapper()
Return math axis mapper |
Orientation |
getOrientation()
Return orientations. |
java.util.List<LineSeries> |
getSeries()
Returns list of chart series. |
AbstractMarker |
getSeriesMarker()
Returns marker used for all series in dot plot chart |
protected void |
prepareDataModel(ChartDataModel data,
Orientation orientation)
|
void |
setDataModel(ChartDataModel dataModel)
Assigns input data model to the chart. |
void |
setOrientation(Orientation orientation)
Set Orientation. |
void |
setSeriesMarker(AbstractMarker marker)
Sets marker that will be used for all series in dot plot chart |
protected void |
updateChart()
Redraws chart |
protected void |
updateMappers()
Updates chart axes mappers |
protected void |
updateSeries()
Generate all LineSeries |
protected boolean |
validate(ChartDataModel dataModel)
Validate data model |
| Methods inherited from class lt.monarch.chart.spc.SpcChart |
|---|
getBottomAxis, getDataModel, getGrid, getLeftAxis, getMax, getMax, getMin, getMin, getRightAxis, resetDataModel, setNoData, setNoData, trim |
| Methods inherited from class lt.monarch.chart.MultiSeriesChartBase |
|---|
activate, addObject, createLegendEntries, deactivate, findObject, getContainingObjects, getObjects, layoutObjects, removeObject, replaceObject, reset, setObjects, shiftObjects |
| Methods inherited from class lt.monarch.chart.AbstractChart |
|---|
addPlugin, disableDrafMode, enableDraftMode, fillEntitySheet, getDescription, getLocale, getParentEntity, getPlugins, getShortDescription, invalidate, isDraftMode, paint, removePlugin, removePlugins, setDraftMode, setLocale |
| Methods inherited from class lt.monarch.chart.AbstractView |
|---|
addViewListener, clone, container, getAlignmentX, getAlignmentY, getBounds, getChartObjectBounds, getContainer, getGraphicsType, getHeight, getMaximumSize, getMinimumSize, getPaintMode, getPaintStyle, getParent, getPreferredSize, getSize, getSize, getStyle, getStyle, getWidth, getX, getY, isLayoutValid, removeViewListener, render, repaint, repaint, setAlignmentX, setAlignmentY, setBounds, setBounds, setContainer, setLocation, setMaximumSize, setMinimumSize, setPaintMode, setPreferredSize, setSize, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.chart.engine.View |
|---|
addViewListener, clone, container, getAlignmentX, getAlignmentY, getBounds, getGraphicsType, getHeight, getMaximumSize, getMinimumSize, getPreferredSize, getSize, getSize, getStyle, getWidth, getX, getY, removeViewListener, render, repaint, repaint, setAlignmentX, setAlignmentY, setBounds, setBounds, setContainer, setLocation, setMaximumSize, setMinimumSize, setPreferredSize, setSize, validate |
| Field Detail |
|---|
protected DotPlotValuesCalculator calc
protected Orientation orientation
protected java.util.Comparator<java.lang.Object> comparator
protected boolean chartInitialized
protected java.util.ArrayList<LineSeries> series
protected java.util.ArrayList<ChartDataModel> models
protected ChartObject[] chartObjects
protected AxisMapper yMapper
protected AxisMapper xMapper
protected AbstractMarker seriesMarker
protected int size
| Constructor Detail |
|---|
public DotPlotChart()
throws DataFormatException
DataFormatException
public DotPlotChart(ChartDataModel dataModel)
throws DataFormatException
dataModel - DataFormatException
public DotPlotChart(Orientation orientation)
throws DataFormatException
DataFormatException
public DotPlotChart(ChartDataModel dataModel,
Orientation orientation)
throws DataFormatException
dataModel - data modelorientation - chart's orientationDataFormatException| Method Detail |
|---|
public void setDataModel(ChartDataModel dataModel)
throws DataFormatException
SpcChart
setDataModel in class SpcChartdataModel - chat input data model.DataFormatException
protected void updateChart()
throws DataFormatException
SpcChart
updateChart in class SpcChartDataFormatExceptionpublic java.util.List<LineSeries> getSeries()
DataFormatException
protected void updateSeries()
throws DataFormatException
DataFormatExceptionprotected LineSeries createSingleSeries(ChartDataModel data)
data - ChartDataModel
protected void prepareDataModel(ChartDataModel data,
Orientation orientation)
protected void updateMappers()
protected LabelAxisMapper getLabelAxisMapper()
protected MathAxisMapper getMathAxisMapper()
protected boolean validate(ChartDataModel dataModel)
dataModel - - Chart Data Modelpublic Orientation getOrientation()
public void setOrientation(Orientation orientation)
throws DataFormatException
orientation - - OrientationDataFormatExceptionpublic AbstractMarker getSeriesMarker()
public void setSeriesMarker(AbstractMarker marker)
marker -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||