chart
public class ScatterPlot2D extends Plot
ChartFrame
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
AXIS_LABEL_PADDING
The padding for axis labels
|
static int |
SHOW_ALL_DESIGNS
Show all designs.
|
static int |
SHOW_DESIGNS_ACTIVE_IN_PARALLEL_CHART
Show all designs that are not filtered on a given @link chart.ParallelCoordinatesChart.
|
static int |
SHOW_SELECTED_DESIGNS
Show all designs that are not selected in the data table.
|
static java.lang.String |
TIC_LABEL_FORMAT
the tic label format
|
static int |
TIC_LABEL_PADDING
The padding for tic labels
|
Constructor and Description |
---|
ScatterPlot2D(DataSheet dataSheet,
boolean showDecorations)
Instantiates a new 2D scatter plot.
|
Modifier and Type | Method and Description |
---|---|
void |
autofitX(DataSheet dataSheet)
Autofits the x axis.
|
void |
autofitY(DataSheet dataSheet)
Autofits the y axis.
|
java.awt.Color |
getActiveDesignColor()
Gets the active design color.
|
int |
getAxisLabelFontSizeX()
Gets the x axis label font size.
|
int |
getAxisLabelFontSizeY()
Gets the y axis label font size.
|
java.awt.Color |
getDecorationsColor()
Gets the decorations color.
|
java.awt.Color |
getDesignColor(Design design)
Gets the design color.
|
int |
getDisplayedDesignSelectionMode()
Gets the displayed design selection mode.
|
int |
getDotRadius()
Gets the dot radius.
|
double |
getMaxX()
Gets the max value for the x-axis.
|
double |
getMaxY()
Gets the max value for the y-axis.
|
double |
getMinX()
Gets the min value for the x-axis.
|
double |
getMinY()
Gets the min value for the y-axis..
|
ParallelCoordinatesChart |
getParallelCoordinatesChartForFiltering()
Gets the parallel coordinates chart for filtering.
|
Parameter |
getParameterForXAxis()
Gets the parameter for the x axis.
|
Parameter |
getParameterForYAxis()
Gets the parameter for the y axis.
|
int |
getPlotAreaDistanceToBottom()
Gets the plot area distance to the bottom border
|
int |
getPlotAreaDistanceToLeft(int ticLabelOffset)
Gets the plot area distance to the left border
|
int |
getPlotAreaDistanceToRight()
Gets the plot area distance to the right border
|
int |
getPlotAreaDistanceToTop()
Gets the plot area distance to the top border
|
java.awt.Color |
getSelectedDesignColor()
Gets the selected design color.
|
int |
getTicCountX()
Gets the number of tics on the x axis.
|
int |
getTicCountY()
Gets the number of tics on the y axis.
|
int |
getTicLabelFontSizeX()
Gets the x axis tic label font size.
|
int |
getTicLabelFontSizeY()
Gets the y axis tic label font size.
|
int |
getTicSize()
Gets the tic size.
|
boolean |
isAutofitX()
Gets the autofit state for the x axis.
|
boolean |
isAutofitY()
Gets the autofit state for the y axis..
|
boolean |
isShowDecorations()
Gets the show decorations switch.
|
void |
resetDisplaySettingsToDefault()
Reset display settings to default.
|
void |
setActiveDesignColor(java.awt.Color activeDesignColor)
Sets the active design color.
|
void |
setAutofitX(boolean autofitX)
Sets the autofit state for the x axis.
|
void |
setAutofitY(boolean autofitY)
Sets the autofit state for the y axis..
|
void |
setAxisLabelFontSizeX(int axisLabelFontSizeX)
Sets the x axis label font size..
|
void |
setAxisLabelFontSizeY(int axisLabelFontSizeY)
Sets the y axis label font size..
|
void |
setDecorationsColor(java.awt.Color decorationsColor)
Sets the decorations color.
|
void |
setDisplayedDesignSelectionMode(int displayedDesignSelectionMode)
Sets the displayed design selection mode..
|
void |
setDotRadius(int dotRadius)
Sets the dot radius.
|
void |
setMaxX(double maxX)
Sets the max value for the x-axis..
|
void |
setMaxY(double maxY)
Sets the max value for the y-axis.
|
void |
setMinX(double minX)
Sets the min value for the x-axis.
|
void |
setMinY(double minY)
Sets the min value for the y-axis.
|
void |
setParallelCoordinatesChartForFiltering(ParallelCoordinatesChart parallelCoordinatesChartForFiltering)
Sets the the parallel coordinates chart for filtering.
|
void |
setParameterForXAxis(Parameter parameterForXAxis)
Sets the parameter for the x axis.
|
void |
setParameterForYAxis(Parameter parameterForYAxis)
Sets the parameter for the y axis..
|
void |
setSelectedDesignColor(java.awt.Color selectedDesignColor)
Sets the selected design color..
|
void |
setTicCountX(int ticCountX)
Sets the number of tics on the x axis.
|
void |
setTicCountY(int ticCountY)
Sets the number of tics on the y axis.
|
void |
setTicLabelFontSizeX(int ticLabelFontSizeX)
Sets the x axis tic label font size.
|
void |
setTicLabelFontSizeY(int ticLabelFontSizeY)
Sets the y axis tic label font size.
|
getBackGroundColor, getDataSheet, getMargin, setBackGroundColor, setDataSheet
public static final int SHOW_ALL_DESIGNS
public static final int SHOW_SELECTED_DESIGNS
public static final int SHOW_DESIGNS_ACTIVE_IN_PARALLEL_CHART
public static final int AXIS_LABEL_PADDING
public static final int TIC_LABEL_PADDING
public static final java.lang.String TIC_LABEL_FORMAT
public ScatterPlot2D(DataSheet dataSheet, boolean showDecorations)
dataSheet
- the data sheetshowDecorations
- show decorations yes / nopublic java.awt.Color getDesignColor(Design design)
design
- the designpublic java.awt.Color getActiveDesignColor()
public void setActiveDesignColor(java.awt.Color activeDesignColor)
activeDesignColor
- the new active design colorpublic int getDisplayedDesignSelectionMode()
public void setDisplayedDesignSelectionMode(int displayedDesignSelectionMode)
displayedDesignSelectionMode
- the new displayed design selection mode.public ParallelCoordinatesChart getParallelCoordinatesChartForFiltering()
public void setParallelCoordinatesChartForFiltering(ParallelCoordinatesChart parallelCoordinatesChartForFiltering)
parallelCoordinatesChartForFiltering
- the new the parallel coordinates chart for filteringpublic int getDotRadius()
public void setDotRadius(int dotRadius)
dotRadius
- the new dot radiuspublic java.awt.Color getSelectedDesignColor()
public void setSelectedDesignColor(java.awt.Color selectedDesignColor)
selectedDesignColor
- the new selected design color.public Parameter getParameterForXAxis()
public void setParameterForXAxis(Parameter parameterForXAxis)
parameterForXAxis
- the new parameter for the x axis.public Parameter getParameterForYAxis()
public void setParameterForYAxis(Parameter parameterForYAxis)
parameterForYAxis
- the new parameter for the y axis.public java.awt.Color getDecorationsColor()
public void setDecorationsColor(java.awt.Color decorationsColor)
decorationsColor
- the new decorations color.public boolean isAutofitX()
public void setAutofitX(boolean autofitX)
autofitX
- the new autofit state for the x axis.public boolean isAutofitY()
public void setAutofitY(boolean autofitY)
autofitY
- the new autofit state for the y axis.public void autofitX(DataSheet dataSheet)
public void autofitY(DataSheet dataSheet)
public double getMinX()
public void setMinX(double minX)
minX
- the new min value for the x-axis.public double getMaxX()
public void setMaxX(double maxX)
maxX
- the new max value for the x-axis.public double getMinY()
public void setMinY(double minY)
minY
- the new min value for the y-axis.public double getMaxY()
public void setMaxY(double maxY)
maxY
- the new max value for the y-axis.public int getTicCountX()
public void setTicCountX(int ticCountX)
ticCountX
- the new number of tics on the x axis.public int getTicCountY()
public int getTicSize()
public void setTicCountY(int ticCountY)
ticCountY
- the new number of tics on the y axis.public int getAxisLabelFontSizeX()
public void setAxisLabelFontSizeX(int axisLabelFontSizeX)
axisLabelFontSizeX
- the new axis label font size.public int getAxisLabelFontSizeY()
public void setAxisLabelFontSizeY(int axisLabelFontSizeY)
axisLabelFontSizeY
- the new axis label font size.public int getTicLabelFontSizeX()
public void setTicLabelFontSizeX(int ticLabelFontSizeX)
ticLabelFontSizeX
- the new tic label font size.public int getTicLabelFontSizeY()
public void setTicLabelFontSizeY(int ticLabelFontSizeY)
ticLabelFontSizeY
- the new tic label font size.public int getPlotAreaDistanceToLeft(int ticLabelOffset)
public int getPlotAreaDistanceToRight()
public int getPlotAreaDistanceToTop()
public int getPlotAreaDistanceToBottom()
public boolean isShowDecorations()
public void resetDisplaySettingsToDefault()
resetDisplaySettingsToDefault
in class Plot