public class Acop
extends javax.swing.JPanel
implements java.awt.print.Printable, java.io.Serializable, com.cosylab.gui.components.util.PopupManageable
Modifier and Type | Class and Description |
---|---|
static class |
Acop.displayModes |
static class |
Acop.drawStyles |
static class |
Acop.graphStyles |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
Acop() |
Acop(boolean createAcopTransport) |
Modifier and Type | Method and Description |
---|---|
void |
addAcopListener(AcopListener l) |
void |
adjustYZoom(boolean primary,
boolean secondary,
double min,
double max,
double secondaryMin,
double secondaryMax)
Change the current vertical zoom boundaries without changing any zoom state.
|
int |
appendScreen(double Yvalue,
double Xvalue,
int hDisplay) |
int |
appendScreen(double value,
int hDisplay) |
int |
appendScreen(java.lang.Object Yarray,
int hDisplay)
Appends the given elements to the 'end' of the plotted array.
|
int |
appendScreen(java.lang.Object Yarray,
int hDisplay,
int Npoints,
int StartIndex,
java.lang.Object Xarray) |
int |
appendScreen(java.lang.Object Yarray,
int hDisplay,
java.lang.Object Xarray) |
int |
appendScreen(java.lang.Object Yarray,
java.lang.Object Xarray,
int hDisplay)
Appends the given elements to the 'end' of the plotted array.
|
int |
appendScreen(java.lang.Object Yarray,
java.lang.Object Xarray,
int hDisplay,
int length,
int offset)
Appends the given elements to the 'end' of the plotted array.
|
void |
applyErrorWindow(boolean value)
Turns error color display on or off.
|
void |
applyErrorWindow(int hDisplay,
boolean value)
Turns error color display on or off
|
void |
autoScale(boolean xmx,
boolean xmn,
boolean ymx,
boolean ymn)
Applies an auto-scale to the entire acop chart according to the given
axis specifications
|
void |
autoScale(boolean xmx,
boolean xmn,
boolean ymx,
boolean ymn,
int hDisplay)
Applies an auto-scale to the designated acop plot according to the given
axis specifications
|
int |
bindToSecondaryYScale(int hDisplay)
Binds the given scale to the secondary vertical (y) axis coordinates.
|
int |
bindToSecondaryYScale(int hDisplay,
boolean bind)
Binds or un-binds the given scale to the secondary vertical (y) axis coordinates.
|
void |
clearScreen()
Clears the acop chart of all displays
|
void |
clearScreen(int hDisplay)
Removes the selected display from the chart
|
void |
clearScreen(int hDisplay,
int keepDepth)
Removes the selected display from the chart, but retain a number
of displayed plots in the 'keep' color.
|
void |
clearTags(int hDisplay)
Removes assigned display 'tags' from the display in question.
|
void |
clearText()
Removes all displayed text within the acop chart.
|
void |
clearText(int hText)
Removes the displayed text associated with the given
text handle
|
void |
deleteScreen(int hDisplay)
Removes the display from the chart and deletes the underlying data to free
resources.
|
int |
draw(java.lang.Object ydata)
Draws a curve on the acop chart using the data provided and the chart display settings
|
int |
draw(java.lang.Object ydata,
java.lang.Object xdata)
Draws a curve on the acop chart using the data provided and the chart display settings
|
int |
draw(java.lang.Object ydata,
java.lang.Object xdata,
boolean bindToSecondaryAxis)
Draws a curve on the acop chart using the data provided and the chart display settings
|
int |
draw(java.lang.Object ydata,
java.lang.Object xdata,
java.lang.Object disable)
Draws a curve on the acop chart using the data provided and the chart display settings
|
int |
draw(java.lang.Object ydata,
java.lang.Object xdata,
java.lang.Object disable,
java.lang.String[] xlabel)
Draws a curve on the acop chart using the data provided and the chart display settings
|
int |
draw(java.lang.Object ydata,
java.lang.Object xdata,
java.lang.Object disable,
java.lang.String[] xlabel,
int ArraySize,
int MaxNumber)
Draws a curve on the acop chart using the data provided and the chart display settings
|
int |
draw(java.lang.Object ydata,
java.lang.Object xdata,
java.lang.Object disable,
java.lang.String[] xlabel,
int ArraySize,
int MaxNumber,
boolean bindToSecondaryAxis)
Draws a curve on the acop chart using the data provided and the chart display settings
|
int |
errorWindow(double XMax,
double XMin,
double YMax,
double YMin)
Deprecated.
use setErrorWindow instead
|
int |
errorWindow(int hDisplay,
double XMax,
double XMin,
double YMax,
double YMin)
Deprecated.
use setErrorWindow instead
|
de.desy.acop.transport.AcopTransport |
getAcopTransport() |
int[] |
getAnnotations(int handle) |
int |
getAveragingDepth() |
int |
getAveragingMode() |
int |
getBarlineColorFilled() |
int |
getBitDisplayMask() |
java.lang.String |
getCaption() |
int |
getCaptionLocation() |
java.awt.Color |
getCursorMarkerColor() |
int |
getCursorMarkerMode() |
int |
getCursorMarkerStyle() |
int |
getCursorMarkerWidth() |
double |
getCursorMarkerXExtent() |
double |
getCursorMarkerYExtent() |
int |
getCursorXPosition()
Returns the cursor position in pixels.
|
double |
getCursorXValue(int hDisplay) |
double[] |
getCurveFitResults(int hDisplay) |
com.cosylab.gui.components.customizer.AbstractCustomizerPanel |
getCustomizer()
Returns the Customizer instance for this component.
|
int |
getDisplayMode() |
int |
getDrawnData(java.lang.Object Yarray,
java.lang.Object Xarray,
int hDisplay,
double xpos,
double ypos)
Retrieves the current data displayed on the chart and copies it into
the supplied array objects.
|
int |
getDrawnData(java.lang.Object Yarray,
java.lang.Object Xarray,
int length,
int offset,
int hDisplay)
Retrieves the current data displayed on the chart and copies it into
the supplied array objects.
|
int |
getDrawStyle() |
int |
getDrawWidth() |
java.awt.Color |
getErrorColor() |
int |
getFFT() |
int |
getFrameBottomOffset() |
java.awt.Font |
getFrameFont() |
java.awt.Color |
getFrameForeColor() |
int |
getFrameLeftOffset() |
int |
getFrameRightOffset() |
int |
getFrameTopOffset() |
int |
getFrameWidth() |
double |
getGanttBitDisplayBase() |
double |
getGanttBitDisplayHeight() |
int |
getGraphStyle() |
java.awt.Color |
getGridColor() |
int |
getGridStyle() |
int |
getGridWidth() |
int |
getHistogramOffsetLeft() |
int |
getHistogramOffsetRight() |
int |
getHistogramPosition() |
java.awt.Color |
getKeepColor()
When a display curve is cleared with the clearScreen method
which applies a 'keepDepth' > 0 then the last several cleared
displays (up to the keep depth) are displayed in on the chart in
an alternate color.
|
int |
getKeepStyle() |
int |
getKeepWidth() |
java.awt.Color |
getLeadingEdgeColor() |
int |
getLeadingEdgeGapSize() |
int |
getLeadingEdgeMode() |
int |
getLeadingEdgeMotion() |
int |
getLeadingEdgeStyle() |
int |
getLeadingEdgeWidth() |
double |
getLeadingEdgeXExtent() |
double |
getLeadingEdgeYExtent() |
java.awt.Color |
getMarkerColor()
Data points can also be displayed with a 'marker' on any given
acop chart.
|
int |
getMarkerMode() |
int |
getMarkerStyle() |
int |
getMarkerWidth() |
double |
getMarkerXExtent() |
double |
getMarkerYExtent() |
int |
getMaxVisibleXIndex(int hDisplay)
Returns the maximum data index visible in the currently displayed region.
|
int |
getMinVisibleXIndex(int hDisplay)
Returns the minimum data index visible in the currently displayed region.
|
com.cosylab.gui.components.util.PopupManager |
getPopupManager()
Returns popup manager for adding popup actions.
|
java.lang.String |
getPrintedText(double[] leftBottom,
double[] size,
double[] position,
int hText)
Gets the text printed in the text field specified.
|
int |
getPrintTextLocation() |
int |
getPrintTextRotation() |
int |
getPrintTextStickyAttribute() |
double |
getScaleBottom() |
int |
getScaledCoordinates(java.lang.Object Coordinates) |
double |
getScaleLeft() |
double |
getScaleRight() |
double |
getScaleTop() |
int |
getScreenDepth() |
java.lang.String |
getSecondaryYAxisLabel() |
int |
getSecondaryYFineTicks() |
double |
getSecondaryYMax() |
double |
getSecondaryYMin() |
java.awt.Color |
getSecondaryYTickLabelColor() |
int |
getSecondaryYTicks() |
int |
getSecondYAxisDislayOffsetMode() |
double |
getSecondYAxisDisplayOffset() |
int[] |
getStatuses(int handle) |
java.awt.Color |
getTagColor() |
int |
getTaggedColor(java.awt.Color[] ColorArray,
int Npoints,
int StartIndex,
int hDisplay) |
int |
getTextDepth() |
int |
getXAxisDislayOffsetMode() |
double |
getXAxisDisplayOffset() |
java.lang.String |
getXAxisLabel() |
double |
getXDataMax(int hDisplay) |
double |
getXDataMean(int hDisplay) |
double |
getXDataMin(int hDisplay) |
double |
getXDataRms(int hDisplay) |
double |
getXDataStdDiv(int hDisplay) |
double |
getXExtent() |
int |
getXFineTicks() |
int |
getXlabelRotation() |
java.lang.String |
getXLeftLabel() |
double |
getXMax() |
double |
getXMin() |
java.lang.String |
getXRightLabel() |
double |
getXScale() |
double |
getXShift() |
java.awt.Color |
getXTickLabelColor() |
int |
getXTicks() |
boolean |
getXTicksBottom() |
int |
getYAxisDislayOffsetMode() |
double |
getYAxisDisplayOffset() |
java.lang.String |
getYAxisLabel() |
double |
getYDataMax(int hDisplay) |
double |
getYDataMean(int hDisplay) |
double |
getYDataMin(int hDisplay) |
double |
getYDataRms(int hDisplay) |
double |
getYDataStdDiv(int hDisplay) |
double |
getYExtent() |
int |
getYFineTicks() |
java.lang.String[] |
getYLabel() |
int |
getYLabelDisplayOffset() |
double |
getYMax() |
double |
getYMin() |
double |
getYScale() |
double |
getYShift() |
java.awt.Color |
getYTickLabelColor() |
int |
getYTicks() |
boolean |
getYTicksLeft() |
int |
getZoomIndex() |
int |
getZooming()
Return the current zoom flag setting for the chart.
|
boolean |
isAbsTimeDisplay() |
boolean |
isAppendLineIndexInTextMode() |
boolean |
isBottomXLabel() |
boolean |
isColorFilled() |
boolean |
isErrorWindowApplied() |
boolean |
isErrorWindowApplied(int hDisplay) |
boolean |
isErrorWindowOn() |
boolean |
isErrorWindowOn(boolean turnON) |
boolean |
isErrorWindowOn(int hDisplay) |
boolean |
isErrorWindowOn(int hDisplay,
boolean turnON) |
boolean |
isForceWidth()
Returns true if forced width is turned on or false otherwise.
|
boolean |
isFrameBorderOn() |
boolean |
isInvert() |
boolean |
isLeftTimeLabel() |
boolean |
isLeftYLabel() |
boolean |
isLimitTickToBoundaries() |
boolean |
isPopupEnabled()
Return true if the popup menu is enabled or false otherwise.
|
boolean |
isPrintTextLine() |
boolean |
isRandomData() |
boolean |
isRandomText() |
boolean |
isReferenced(int hDisplay)
Returns the current display criterion concerning whether or not
the display is plotted versus a reference function or not.
|
boolean |
isReferenced(int hDisplay,
int value) |
boolean |
isReuseScreen() |
boolean |
isReuseText() |
boolean |
isScreenLocked(int hDisplay)
It is occasionally desirable to fix one or more displays to the
acop chart and be able to clear all others with a simple call
to the clearScreen() method.
|
boolean |
isSecondaryYAxisOn() |
boolean |
isSecondaryYBestScale()
If 'true' acop will find the nearest decimal settings for the
vertical display axis, based on the current secondary y-max and y-min
settings.
|
boolean |
isSecondaryYLogOn() |
boolean |
isSecondaryYTickText() |
boolean |
isSnapZoomToNearestHour() |
boolean |
isTagged(int index,
int hDisplay) |
boolean |
isTagged(int index,
int value,
int hDisplay) |
boolean |
isTagging() |
boolean |
isTextAntiAliasing() |
boolean |
isWeighted(int hDisplay)
Returns the current display criterion concerning whether or not
the display is plotted using a weight function or not.
|
boolean |
isWeighted(int hDisplay,
int value) |
boolean |
isWeightedStatistics() |
boolean |
isWrapAround() |
boolean |
isXBestScale()
If 'true' acop will find the nearest decimal settings for the
horizontal display axis, based on the current x-max and x-min
settings.
|
boolean |
isXGrid() |
boolean |
isXTickText() |
boolean |
isYBestScale()
If 'true' acop will find the nearest decimal settings for the
vertical display axis, based on the current y-max and y-min
settings.
|
boolean |
isYGrid() |
boolean |
isYTickText() |
boolean |
isZoomed() |
boolean |
isZoomFlag() |
int |
leadingEdge(int hDisplay) |
int |
leadingEdge(int LeadingEdgeMode,
int hDisplay) |
int |
lockCursorMarker(boolean Enable) |
int |
lockCursorMarker(boolean Enable,
boolean xInput,
double Xposition,
boolean yInput,
double Yposition) |
int |
lockCursorMarker(boolean Enable,
double Xposition,
double Yposition) |
void |
lockCursorToCurrentScreenPosition(boolean lock) |
long |
lockScreen(int LockOn,
int hDisplay) |
static void |
main(java.lang.String[] argv) |
boolean |
marker() |
boolean |
marker(boolean MarkerOn) |
boolean |
marker(boolean MarkerOn,
int hDisplay) |
boolean |
marker(int hDisplay) |
void |
notifyAcop(int id,
int link,
int code) |
void |
persistClear(int hDisplay)
call this routine to terminate the persistent paiting
|
int |
persistScreen(int hDisplay,
int depth,
boolean memCopy,
boolean endlessFlag,
java.awt.Color persistColor)
Returns 0
user call draw, use the return displayIndex call this routine
|
int |
persistScreen(int hDisplay,
int depth,
boolean memCopy,
java.awt.Color persistColor) |
int |
persistScreen(int hDisplay,
int depth,
java.awt.Color persistColor) |
int |
print(java.awt.Graphics printG,
java.awt.print.PageFormat pageFormat,
int pageIndex) |
int |
printScreen() |
int |
printScreen(int position) |
int |
printText(java.lang.String text)
Prints a text field on the acop chart.
|
int |
printText(java.lang.String text,
double xpos,
double ypos)
Prints a text field on the acop chart.
|
void |
recallScreen(int hDisplay)
Recalls a display plot which has been cleared with one of the
clearScreen() methods to the acop chart.
|
void |
recallText(int hText)
Recalls displayed text which has been cleared with one of the
clearText() methods to the acop chart.
|
int |
referenceFunction(java.lang.Object ReferenceArray)
Deprecated.
use setReferenceFunction instead
|
int |
referenceFunction(java.lang.Object ReferenceArray,
int ArraySize)
Deprecated.
use setReferenceFunction instead
|
int |
refreshPersistScreen(java.lang.Object Yarray,
int hDisplay)
Returns 0 if refreshPersistent succedde otherwise -1
can be direct called from user, or called from refreshScreen
Returns 0 if refreshPersistent succedde otherwise -1
|
int |
refreshScreen(java.lang.Object Yarray,
int hDisplay)
Replaces the displayed data with the contents of the input data
array for the display given.
|
int |
refreshScreen(java.lang.Object Yarray,
int hDisplay,
int length,
int offset,
java.lang.Object Xarray) |
int |
refreshScreen(java.lang.Object Yarray,
int hDisplay,
java.lang.Object Xarray) |
int |
refreshScreen(java.lang.Object Yarray,
java.lang.Object Xarray,
int hDisplay)
Replaces the displayed data with the contents of the input data
array for the display given.
|
int |
refreshScreen(java.lang.Object Yarray,
java.lang.Object Xarray,
int hDisplay,
int length,
int offset)
Replaces the displayed data with the contents of the input data
array for the display given.
|
int |
refreshText(java.lang.String newText,
int hText)
Replaces the displayed text with the contents of the input text
array for the text field given.
|
void |
removeAcopListener(AcopListener l) |
void |
setAbsTimeDisplay(boolean absTimeDisplay) |
void |
setAcopTransport(de.desy.acop.transport.AcopTransport acopTransport) |
void |
setAppendLineIndexInTextMode(boolean append)
Sets the flag whether acop will print the line and histo indexes in each line when using text mode.
|
void |
setAveragingDepth(int averagingDepth) |
void |
setAveragingMode(int averagingMode) |
void |
setBackground(java.awt.Color c) |
int |
setBackgroundRegion(java.awt.geom.Rectangle2D.Double[] colorRegionRect,
java.awt.Color[] regionColor,
boolean fixed) |
int |
setBackgroundRegion(java.awt.geom.Rectangle2D.Double[] colorRegionRect,
java.awt.Color[] regionColor,
java.awt.geom.Rectangle2D.Double[] imageRegionRect,
java.lang.String[] imageFilename,
boolean fixed) |
int |
setBackgroundRegion(java.awt.geom.Rectangle2D.Double[] imageRegionRect,
java.lang.String[] imageFilename,
boolean fixed) |
void |
setBarlineColorFilled(int barlineColorFilled) |
void |
setBitDisplayMask(int bitMask) |
void |
setBottomXLabel(boolean bottomXLabel) |
void |
setCaption(java.lang.String caption)
Assign a chart caption with this method call.
|
void |
setCaptionLocation(int captionPosition) |
void |
setColorFilled(boolean colorFilled) |
void |
setCursorMarkerColor(java.awt.Color cursorMarkerColor) |
void |
setCursorMarkerMode(int cursorMarkerMode) |
void |
setCursorMarkerStyle(int cursorMarkerStyle) |
void |
setCursorMarkerWidth(int cursorMarkerWidth) |
void |
setCursorMarkerXExtent(double newExtent)
Set the 'extent' (in disply coordinates) of the current horizontal
display marker (if any).
|
void |
setCursorMarkerYExtent(double newExtent)
Set the 'extent' (in disply coordinates) of the current vertical
display marker (if any).
|
void |
setCursorXPosition(int cursor) |
int |
setDisplayGap(int pixel) |
int |
setDisplayGap(int xPixel,
int yPixel) |
int |
setDisplayGap(int xLeftPixel,
int xRightPixel,
int yTopPixel,
int yBottomPixel) |
void |
setDisplayMode(Acop.displayModes newMode)
Assigns a display mode to any plots using the draw() method.
|
void |
setDisplayMode(int mode)
Assigns a display mode to any plots using the draw() method.
|
void |
setDrawStyle(Acop.drawStyles style) |
void |
setDrawStyle(int drawStyle)
Set the line type used in drawing curves on an acop chart.
|
void |
setDrawWidth(int drawWidth)
Sets the desired draw (pen) width for the display plots.
|
void |
setErrorColor(java.awt.Color color)
Sets the display color of any out-of-bounds 'error' data
(defined by the 'error window').
|
int |
setErrorWindow(double xMax,
double xMin,
double yMax,
double yMin)
out-of-bounds 'error' data can be displayed in a different
color in order to highlight them.
|
int |
setErrorWindow(int hDisplay,
double xMax,
double xMin,
double yMax,
double yMin)
out-of-bounds 'error' data can be displayed in a different
color in order to highlight them.
|
void |
setFFT(int fFT) |
void |
setForceWidth(boolean force)
Sets the force width parameter.
|
void |
setForeground(java.awt.Color c) |
void |
setFrameBorderOn(boolean frameBorderOn) |
void |
setFrameBottomOffset(int newOffset)
Sets the acop chart bottom frame offset to the desired value
|
void |
setFrameFont(java.awt.Font frameFont) |
void |
setFrameForeColor(java.awt.Color frameForeColor) |
void |
setFrameLeftOffset(int newOffset)
Sets the acop chart left frame offset to the desired value
|
void |
setFrameRightOffset(int newOffset)
Sets the acop chart right frame offset to the desired value
|
void |
setFrameTopOffset(int newOffset)
Sets the acop chart top frame offset to the desired value
|
void |
setFrameWidth(int frameWidth) |
void |
setGanttBitDisplayBase(double ganttBitBase) |
void |
setGanttBitDisplayHeight(double ganttBitHeight) |
void |
setGraphStyle(Acop.graphStyles style)
Set the acop chart graph style (x-axis/y-axis).
|
void |
setGraphStyle(int graphStyle)
Set the acop chart graph style (x-axis/y-axis).
|
void |
setGridColor(java.awt.Color gridColor) |
void |
setGridStyle(Acop.drawStyles style) |
void |
setGridStyle(int gridStyle)
Sets the chart grid style
|
void |
setGridWidth(int gridWidth) |
void |
setHistogramPosition(int histogramPosition) |
void |
setInvert(boolean invert) |
void |
setKeepColor(java.awt.Color newColor)
Sets the pen color for 'kept' display curves.
|
void |
setKeepStyle(int keepStyle) |
void |
setKeepWidth(int keepWidth) |
void |
setLeadingEdgeColor(java.awt.Color LeadingEdgeColor) |
void |
setLeadingEdgeGapSize(int LeadingEdgeGapSize) |
void |
setLeadingEdgeMode(int LeadingEdgeMode) |
void |
setLeadingEdgeMotion(int LeadingEdgeMotion) |
void |
setLeadingEdgeStyle(int LeadingEdgeStyle) |
void |
setLeadingEdgeWidth(int LeadingEdgeWidth) |
void |
setLeadingEdgeXExtent(double LeadingEdgeXExtent) |
void |
setLeadingEdgeYExtent(double LeadingEdgeYExtent) |
void |
setLeftTimeLabel(boolean leftTimeLabel)
If the graph mode is 'LIN-TIME' or 'LOG-TIME' (i.e.
|
void |
setLeftYLabel(boolean leftYLabel) |
void |
setLimitXTickToBoundaries(boolean limit)
In case X best scale is used, the max tick will extend more into the right than the
last data point and the min tick might extend to the left.
|
void |
setMarkerColor(java.awt.Color newColor)
Sets the 'marker' color to the desired value.
|
void |
setMarkerMode(int markerMode) |
void |
setMarkerStyle(int markerStyle) |
void |
setMarkerWidth(int markerWidth) |
void |
setMarkerXExtent(double markerXExtent) |
void |
setMarkerYExtent(double markerYExtent) |
void |
setPopupEnabled(boolean enabled)
Enables or disables the popup menu.
|
void |
setPrintTextLine(boolean print)
Sets the flag whether a vertical line should be printed at the text location.
|
void |
setPrintTextLocation(int printTextLocation) |
void |
setPrintTextRotation(int printTextRotation) |
void |
setPrintTextStickyAttribute(int printTextStickyAttribute) |
void |
setRandomData(boolean randomData) |
void |
setRandomText(boolean randomText) |
void |
setReferenced(int hDisplay,
boolean value)
Sets the reference criterion.
|
int |
setReferenceFunction(java.lang.Object referenceArray)
An array passed in the draw() method can also be plotted against
a reference array function supplied by the referenceFunction() method.
|
int |
setReferenceFunction(java.lang.Object referenceArray,
int length)
An array passed in the draw() method can also be plotted against
a reference array function supplied by the referenceFunction() method.
|
void |
setReuseScreen(boolean reuseScreen) |
void |
setReuseText(boolean reuseText) |
void |
setScreenDepth(int screenDepth)
Set the capacity for the number of allowed display buffers
on the acop chart.
|
void |
setScreenLocked(int hDisplay,
boolean value)
Sets the screen lock criterion.
|
void |
setSecondaryYAxisLabel(java.lang.String text)
Sets the secondary vertical (y) axis label
|
void |
setSecondaryYAxisOn(boolean secondaryYAxisOn) |
void |
setSecondaryYBestScale(boolean useBestScale)
Turns the 'best scale' logic on or off for the secondary vertical
(y) axis.
|
void |
setSecondaryYFineTicks(int SecondaryYFineTicks) |
void |
setSecondaryYLogOn(boolean secondaryYLogOn) |
void |
setSecondaryYMax(double maxValue)
Sets the acop chart secondary vertical (y) axis maximum
|
void |
setSecondaryYMin(double minValue)
Sets the acop chart secondary vertical (y) axis minimum
|
void |
setSecondaryYTickLabelColor(java.awt.Color secondaryYTickLabelColor) |
void |
setSecondaryYTicks(int SecondaryYTicks) |
void |
setSecondaryYTickText(boolean SecondaryYTickText) |
void |
setSecondYAxisDisplayOffsetMode(int mode)
Adjusts axis tick labels to account for large but insignifcant
common offsets.
|
void |
setSnapZoomToNearestHour(boolean snapZoomToNearestHour)
If true the zooming region is snapped to the nearest hour when zooming with a mouse.
|
void |
setTagColor(java.awt.Color color)
Sets the color of any applied display 'tags', which are
usually applied to histogram style displays.
|
void |
setTagging(boolean tagging) |
void |
setTextAntiAliasing(boolean antialias) |
void |
setTextDepth(int textDepth) |
void |
setWeighted(int hDisplay,
boolean value)
Sets the weighted criterion.
|
void |
setWeightedStatistics(boolean weightStatitics) |
int |
setWeightFunction(java.lang.Object WeightArray)
Applies a weight function to the acop chart which can be
used by any or all plots.
|
int |
setWeightFunction(java.lang.Object weightArray,
int length)
Applies a weight function to the acop chart which can be
used by any or all plots.
|
void |
setWrapAround(boolean wrapAround) |
void |
setXAxisDisplayOffsetMode(int mode)
Adjusts axis tick labels to account for large but insignifcant
common offsets.
|
void |
setXAxisLabel(java.lang.String text)
Sets the horizontal (x) axis label
|
void |
setXBestScale(boolean useBestScale)
Turns the 'best scale' logic on or off for the horizontal
(x) axis.
|
void |
setXExtent(double XExtent) |
void |
setXFineTicks(int XFineTicks) |
void |
setXGrid(boolean XGrid) |
void |
setXlabelRotation(int xlabelRotation) |
void |
setXLeftLabel(java.lang.String text)
Sets the horizontal (x) axis label
|
void |
setXMax(double maxValue)
Sets the acop chart horizontal (x) axis maximum
|
void |
setXMin(double minValue)
Sets the acop chart horizontal (x) axis minimum
|
void |
setXRange(double xMin,
double xMax) |
void |
setXRightLabel(java.lang.String text) |
void |
setXScale(double XScale) |
void |
setXShift(double XShift) |
void |
setXTickLabelColor(java.awt.Color xTickLabelColor) |
void |
setXTicks(int XTicks) |
void |
setXTicksBottom(boolean XTicksBottom) |
void |
setXTickText(boolean XTickText) |
void |
setXYRange(double xMin,
double xMax,
double yMin,
double yMax) |
void |
setYAxisDisplayOffsetMode(int mode)
Adjusts axis tick labels to account for large but insignifcant
common offsets.
|
void |
setYAxisLabel(java.lang.String text)
Sets the vertical (y) axis label
|
void |
setYBestScale(boolean useBestScale)
Turns the 'best scale' logic on or off for the vertical
(y) axis.
|
void |
setYExtent(double YExtent) |
void |
setYFineTicks(int YFineTicks) |
void |
setYGrid(boolean YGrid) |
void |
setYLabel(java.lang.String[] ylabel) |
void |
setYLabel(java.lang.String[] ylabel,
int start,
int interval) |
void |
setYLabelDisplayOffset(int yLabelDisplayOffset) |
void |
setYMax(double maxValue)
Sets the acop chart primary vertical (y) axis maximum
|
void |
setYMin(double minValue)
Sets the acop chart primary vertical (y) axis minimum
|
void |
setYRange(double yMin,
double yMax) |
void |
setYScale(double YScale) |
void |
setYShift(double YShift) |
void |
setYTickLabelColor(java.awt.Color yTickLabelColor) |
void |
setYTicks(int YTicks) |
void |
setYTicksLeft(boolean YTicksLeft) |
void |
setYTickText(boolean YTickText) |
void |
SetZoom(boolean zoomXMax,
boolean zoomXMin,
boolean zoomYMax,
boolean zoomYMin,
boolean zoomSecondaryYMax,
boolean zoomSecondaryYMin,
double newXMax,
double newXMin,
double newYMax,
double newYmin,
double newSecondaryYMax,
double newSecondaryYMin)
Call this method to set the zooming state of an acop chart just as if a
user zoomed the chart from a GUI panel.
|
void |
SetZoom(boolean zoomXMax,
boolean zoomXMin,
boolean zoomYMax,
boolean zoomYMin,
double newXMax,
double newXMin,
double newYMax,
double newYMin)
Call this method to set the zooming state of an acop chart just as if a
user zoomed the chart from a GUI panel.
|
void |
setZooming(int zoomFlag)
Sets the zooming criteria for the entire chart.
|
void |
update(java.awt.Graphics a) |
int |
weightFunction(java.lang.Object WeightArray)
Deprecated.
use setWeightFunction
|
int |
weightFunction(java.lang.Object WeightArray,
int ArraySize)
Deprecated.
use setWeightFunction
|
int |
xAxis(boolean AxisOn) |
int |
xAxis(boolean AxisOn,
java.lang.Object PositionArray,
int ArraySize,
java.awt.Color[] ColorArray,
int[] StyleArray,
int[] WidthArray) |
int |
yAxis(boolean AxisOn) |
int |
yAxis(boolean AxisOn,
java.lang.Object PositionArray,
int ArraySize,
java.awt.Color[] ColorArray,
int[] StyleArray,
int[] WidthArray) |
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public void setSnapZoomToNearestHour(boolean snapZoomToNearestHour)
snapZoomToNearestHour
- public boolean isSnapZoomToNearestHour()
public int printScreen()
public int printScreen(int position)
public int print(java.awt.Graphics printG, java.awt.print.PageFormat pageFormat, int pageIndex)
print
in interface java.awt.print.Printable
public int setBackgroundRegion(java.awt.geom.Rectangle2D.Double[] colorRegionRect, java.awt.Color[] regionColor, boolean fixed)
public int setBackgroundRegion(java.awt.geom.Rectangle2D.Double[] imageRegionRect, java.lang.String[] imageFilename, boolean fixed)
public int setBackgroundRegion(java.awt.geom.Rectangle2D.Double[] colorRegionRect, java.awt.Color[] regionColor, java.awt.geom.Rectangle2D.Double[] imageRegionRect, java.lang.String[] imageFilename, boolean fixed)
public int setDisplayGap(int pixel)
public int setDisplayGap(int xPixel, int yPixel)
public int setDisplayGap(int xLeftPixel, int xRightPixel, int yTopPixel, int yBottomPixel)
public int setWeightFunction(java.lang.Object WeightArray)
weightArray
- is an array object containing the
weight values used in the array multiplication of the plotted
data.@Deprecated public int weightFunction(java.lang.Object WeightArray)
WeightArray
- @Deprecated public int weightFunction(java.lang.Object WeightArray, int ArraySize)
WeightArray
- ArraySize
- public int setWeightFunction(java.lang.Object weightArray, int length)
weightArray
- is an array object containing the
weight values used in the array multiplication of the plotted
data.length
- is the length of the weight array data to
use in the weighting multiplication.public int setReferenceFunction(java.lang.Object referenceArray)
referenceArray
- is the array to use as a reference for any
reference plotssetReferenced
@Deprecated public int referenceFunction(java.lang.Object ReferenceArray)
ReferenceArray
- @Deprecated public int referenceFunction(java.lang.Object ReferenceArray, int ArraySize)
ReferenceArray
- ArraySize
- public int setReferenceFunction(java.lang.Object referenceArray, int length)
referenceArray
- is the array to use as a reference for any
reference plotslength
- is the length of the reference array to apply.public void applyErrorWindow(boolean value)
value
- is the desired error window display statesetErrorWindow, setErrorColor
public void applyErrorWindow(int hDisplay, boolean value)
hDisplay
- is the display handle referring to the plot in question.
This is the return value of the original call
to the draw() method.value
- is the desired error window display statesetErrorWindow, setErrorColor
public boolean isErrorWindowApplied()
setErrorWindow, setErrorColor
public boolean isErrorWindowApplied(int hDisplay)
hDisplay
- is the display handle referring to the plot in question.
This is the return value of the original call
to the draw() method.setErrorWindow, setErrorColor
public boolean isErrorWindowOn()
public boolean isErrorWindowOn(int hDisplay)
public boolean isErrorWindowOn(boolean turnON)
public boolean isErrorWindowOn(int hDisplay, boolean turnON)
public boolean isWeighted(int hDisplay)
hDisplay
- is the display handle referring to the plot
in question. This is the return value of the original call
to the draw() method.public void setWeighted(int hDisplay, boolean value)
hDisplay
- is the display handle referring to the plot
in question. This is the return value of the original call
to the draw() method.value
- is the desired weighted statepublic boolean isWeighted(int hDisplay, int value)
public boolean isReferenced(int hDisplay)
hDisplay
- is the display handle referring to the plot
in question. This is the return value of the original call
to the draw() method.public void setReferenced(int hDisplay, boolean value)
hDisplay
- is the display handle referring to the plot
in question. This is the return value of the original call
to the draw() method.value
- is the desired reference statepublic boolean isReferenced(int hDisplay, int value)
public void SetZoom(boolean zoomXMax, boolean zoomXMin, boolean zoomYMax, boolean zoomYMin, boolean zoomSecondaryYMax, boolean zoomSecondaryYMin, double newXMax, double newXMin, double newYMax, double newYmin, double newSecondaryYMax, double newSecondaryYMin)
zoomXMax
- is a boolean flag specifying whether the horizontal maximum
is to be zoomed or not.zoomXMin
- is a boolean flag specifying whether the horizontal minimum
is to be zoomed or not.zoomYMax
- is a boolean flag specifying whether the vertical maximum
is to be zoomed or not.zoomYMin
- is a boolean flag specifying whether the vertical minimum
is to be zoomed or not.zoomSecondaryYMax
- is a boolean flag specifying whether the secondary vertical maximum
is to be zoomed or not.zoomSecondaryYMin
- is a boolean flag specifying whether the secondary vertical minimum
is to be zoomed or not.newXMax
- is the new 'zoomed' horizontal maximum value.newXMin
- is the new 'zoomed' horizontal minimum value.newYMax
- is the new 'zoomed' vertical maximum value.newYmin
- is the new 'zoomed' vertical minimum value.newSecondaryYMax
- is the new 'zoomed' secondary axis vertical maximum value.newSecondaryYMin
- is the new 'zoomed' secondary axis vertical minimum value.public void SetZoom(boolean zoomXMax, boolean zoomXMin, boolean zoomYMax, boolean zoomYMin, double newXMax, double newXMin, double newYMax, double newYMin)
zoomXMax
- is a boolean flag specifying whether the horizontal maximum
is to be zoomed or not.zoomXMin
- is a boolean flag specifying whether the horizontal minimum
is to be zoomed or not.zoomYMax
- is a boolean flag specifying whether the vertical maximum
is to be zoomed or not.zoomYMin
- is a boolean flag specifying whether the vertical minimum
is to be zoomed or not.newXMax
- is the new 'zoomed' horizontal maximum value.newXMin
- is the new 'zoomed' horizontal minimum value.newYMax
- is the new 'zoomed' vertical maximum value.newYMin
- is the new 'zoomed' vertical minimum value.public void adjustYZoom(boolean primary, boolean secondary, double min, double max, double secondaryMin, double secondaryMax)
primary
- true if the primary axis should be adjustedsecondary
- true if the secondary axis should be adjustedmin
- the new primary minimummax
- the new primary maximumsecondaryMin
- the new secondary minimumsecondaryMax
- the new secondary maximumpublic int getScaledCoordinates(java.lang.Object Coordinates)
public int getDrawnData(java.lang.Object Yarray, java.lang.Object Xarray, int length, int offset, int hDisplay)
Yarray
- is an array object to hold the displayed vertical (y)
axis data.Xarray
- is an array object to hold the displayed horizontal (x)
axis data.length
- is the desired number of displayed data points to return.offset
- is the offset in the displayed data array to begin retrieving
data.hDisplay
- is the display handle referring to the plot to which the
data are to be retrieved. This is the return value of the original call
to the draw() method.public int getDrawnData(java.lang.Object Yarray, java.lang.Object Xarray, int hDisplay, double xpos, double ypos)
Yarray
- is an array object to hold the displayed vertical (y)
axis data.Xarray
- is an array object to hold the displayed horizontal (x)
axis data.hDisplay
- is the display handle referring to the plot to which the
data are to be retrieved. This is the return value of the original call
to the draw() method.xpos
- is the horizontal (x) chart coordinates for which the data is
desired (the nearest data point will be select). If the Yarray and Xarray
objects can hold more than 1 point then the returned data will begin at the
given x position.ypos
- is the vertical (y) chart coordinates for which the data is
desired (the nearest data point will be select). If the Yarray and Xarray
objects can hold more than 1 point then the returned data will begin at the
given y position.public int lockCursorMarker(boolean Enable)
public int lockCursorMarker(boolean Enable, double Xposition, double Yposition)
public int lockCursorMarker(boolean Enable, boolean xInput, double Xposition, boolean yInput, double Yposition)
public java.lang.String getPrintedText(double[] leftBottom, double[] size, double[] position, int hText)
leftBottom
- fills in the coordinates of the left-bottom origin
of the text field location on the chart.
Ignored if null.size
- fills in the size of the text field location on the chart.
Ignored if null.position
- fills in the assigned position of the text field.
Ignored if null.hText
- is a handle to the text field for which the date is to be
retrieved.public boolean isZoomed()
public int getHistogramOffsetLeft()
public int getHistogramOffsetRight()
public double getScaleLeft()
public double getScaleRight()
public double getScaleTop()
public double getScaleBottom()
public int getMinVisibleXIndex(int hDisplay)
hDisplay
- the series/display for which to retrieve the minimum indexpublic int getMaxVisibleXIndex(int hDisplay)
hDisplay
- the series/display for which to retrieve the maximum indexpublic int xAxis(boolean AxisOn)
public int yAxis(boolean AxisOn)
public int xAxis(boolean AxisOn, java.lang.Object PositionArray, int ArraySize, java.awt.Color[] ColorArray, int[] StyleArray, int[] WidthArray)
public int yAxis(boolean AxisOn, java.lang.Object PositionArray, int ArraySize, java.awt.Color[] ColorArray, int[] StyleArray, int[] WidthArray)
public int refreshScreen(java.lang.Object Yarray, java.lang.Object Xarray, int hDisplay, int length, int offset)
Yarray
- is a data array object whose contents will be used to
update and refresh the same array portion of the displayed data for the
plot indicated.Xarray
- is an array object containing the horizontal (x) axis
values associated with the elements in the Yarray object.hDisplay
- is the display handle referring to the plot to which the
data are refreshed. This is the return value of the original call
to the draw() method.length
- is the length of the input Yarray and Xarray objects which
should be applied to the plot indicatedoffset
- is the starting offset of the input Yarray and Xarray objects which
should be applied to the plot indicatedpublic int refreshScreen(java.lang.Object Yarray, int hDisplay, int length, int offset, java.lang.Object Xarray)
public int refreshScreen(java.lang.Object Yarray, java.lang.Object Xarray, int hDisplay)
Yarray
- is a data array object whose contents will be used to
update and refresh the same array portion of the displayed data for the
plot indicated.Xarray
- is an array object containing the horizontal (x) axis
values associated with the elements in the Yarray object.hDisplay
- is the display handle referring to the plot to which the
data are to be refreshed. This is the return value of the original call
to the draw() method.public int refreshScreen(java.lang.Object Yarray, int hDisplay, java.lang.Object Xarray)
public int refreshScreen(java.lang.Object Yarray, int hDisplay)
Yarray
- is a data array object whose contents will be used to
update and refresh the same array portion of the displayed data for the
plot indicated.hDisplay
- is the display handle referring to the plot to which the
data are to be refreshed. This is the return value of the original call
to the draw() method.public int appendScreen(java.lang.Object Yarray, java.lang.Object Xarray, int hDisplay, int length, int offset)
Yarray
- is an array containing the data point or points to append to
the end of the currently plotted data in the plot specified.Xarray
- is an array containing the x-axis coordinate(s) paralleling the
YArray given.hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.length
- gives the length (i.e. number of array elements) to use from the
given Yarray and Xarray in appending the designated plot.offset
- gives the starting index in the array elements to use from the
given Yarray and Xarray in appending the designated plot.public int appendScreen(java.lang.Object Yarray, int hDisplay, int Npoints, int StartIndex, java.lang.Object Xarray)
public int appendScreen(java.lang.Object Yarray, java.lang.Object Xarray, int hDisplay)
Yarray
- is an array containing the data point or points to append to
the end of the currently plotted data in the plot specified.Xarray
- is an array containing the x-axis coordinate(s) paralleling the
YArray given.hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.public int appendScreen(double Yvalue, double Xvalue, int hDisplay)
public int appendScreen(java.lang.Object Yarray, int hDisplay, java.lang.Object Xarray)
public int appendScreen(java.lang.Object Yarray, int hDisplay)
Yarray
- is an array containing the data point or points to append to
the end of the currently plotted data in the plot specified.hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.public int appendScreen(double value, int hDisplay)
public int draw(java.lang.Object ydata)
ydata
- is an array object containing the data points to be plotted on the vertical
axis. If ydata is not an array of a number type (e.g. a string array) then the draw method
while only succeed if the acop chart display mode is set to 'textbox'.
The horizontal (x) axis coordinates will be an array of monotonically
increasing integers.public int draw(java.lang.Object ydata, java.lang.Object xdata, boolean bindToSecondaryAxis)
ydata
- is an array object containing the data points to be plotted on the vertical
axis. If ydata is not an array of a number type (e.g. a string array) then the draw method
while only succeed if the acop chart display mode is set to 'textbox'.xdata
- is an array object containing the horizontal (x) axis coordinates to associate with the
ydata data array. In methods where this is optional, an array of monotonically
increasing integers is used as the horizontal axis (convenient for histograms).bindToSecondaryAxis
- is a boolean flag which if 'true' fixes the display of the
ensuing plot to the settings of the secondary (y) axis parameters.public int draw(java.lang.Object ydata, java.lang.Object xdata)
ydata
- is an array object containing the data points to be plotted on the vertical
axis. If ydata is not an array of a number type (e.g. a string array) then the draw method
while only succeed if the acop chart display mode is set to 'textbox'.xdata
- is an array object containing the horizontal (x) axis coordinates to associate with the
ydata data array. In methods where this is optional, an array of monotonically
increasing integers is used as the horizontal axis (convenient for histograms).public int draw(java.lang.Object ydata, java.lang.Object xdata, java.lang.Object disable)
ydata
- is an array object containing the data points to be plotted on the vertical
axis. If ydata is not an array of a number type (e.g. a string array) then the draw method
while only succeed if the acop chart display mode is set to 'textbox'.xdata
- is an array object containing the horizontal (x) axis coordinates to associate with the
ydata data array. In methods where this is optional, an array of monotonically
increasing integers is used as the horizontal axis (convenient for histograms).disable
- is array object, which if not null is essentially a boolean indication
as to whether the corresponding element in the ydata array is to be plotted or not.
If the disable array element is non-zero (i.e. true) then the data point is 'disabled'
and not shown.public int draw(java.lang.Object ydata, java.lang.Object xdata, java.lang.Object disable, java.lang.String[] xlabel)
ydata
- is an array object containing the data points to be plotted on the vertical
axis. If ydata is not an array of a number type (e.g. a string array) then the draw method
while only succeed if the acop chart display mode is set to 'textbox'.xdata
- is an array object containing the horizontal (x) axis coordinates to associate with the
ydata data array. In methods where this is optional, an array of monotonically
increasing integers is used as the horizontal axis (convenient for histograms).disable
- is array object, which if not null is essentially a boolean indication
as to whether the corresponding element in the ydata array is to be plotted or not.
If the disable array element is non-zero (i.e. true) then the data point is 'disabled'
and not shown.xlabel
- is string array containing horizontal (x) axis element labels, which are used as
tick mark labels. If this array is null, then the corresponding x axis value is
used as a tick mark label.public int draw(java.lang.Object ydata, java.lang.Object xdata, java.lang.Object disable, java.lang.String[] xlabel, int ArraySize, int MaxNumber)
ydata
- is an array object containing the data points to be plotted on the vertical
axis. If ydata is not an array of a number type (e.g. a string array) then the draw method
while only succeed if the acop chart display mode is set to 'textbox'.xdata
- is an array object containing the horizontal (x) axis coordinates to associate with the
ydata data array. In methods where this is optional, an array of monotonically
increasing integers is used as the horizontal axis (convenient for histograms).disable
- is array object, which if not null is essentially a boolean indication
as to whether the corresponding element in the ydata array is to be plotted or not.
If the disable array element is non-zero (i.e. true) then the data point is 'disabled'
and not shown.xlabel
- is string array containing horizontal (x) axis element labels, which are used as
tick mark labels. If this array is null, then the corresponding x axis value is
used as a tick mark label.ArraySize
- if non-zero gives the upper limit of the ydata array to be plotted.MaxNumber
- if non-zero establishes the upper limit of the plot buffer to be used.
This is useful for establishing a plot 'ring' buffer which can be used in conjunction
the appendScreen() method.public int draw(java.lang.Object ydata, java.lang.Object xdata, java.lang.Object disable, java.lang.String[] xlabel, int ArraySize, int MaxNumber, boolean bindToSecondaryAxis)
ydata
- is an array object containing the data points to be plotted on the vertical
axis. If ydata is not an array of a number type (e.g. a string array) then the draw method
while only succeed if the acop chart display mode is set to 'textbox'.xdata
- is an array object containing the horizontal (x) axis coordinates to associate with the
ydata data array. In methods where this is optional, an array of monotonically
increasing integers is used as the horizontal axis (convenient for histograms).disable
- is array object, which if not null is essentially a boolean indication
as to whether the corresponding element in the ydata array is to be plotted or not.
If the disable array element is non-zero (i.e. true) then the data point is 'disabled'
and not shown.xlabel
- is string array containing horizontal (x) axis element labels, which are used as
tick mark labels. If this array is null, then the corresponding x axis value is
used as a tick mark label.ArraySize
- if non-zero gives the upper limit of the ydata array to be plotted.MaxNumber
- if non-zero establishes the upper limit of the plot buffer to be used.
This is useful for establishing a plot 'ring' buffer which can be used in conjunction
the appendScreen() method.bindToSecondaryAxis
- is a boolean flag which if 'true' fixes the display of the
ensuing plot to the settings of the secondary (y) axis parameters.public void clearScreen()
public void clearScreen(int hDisplay)
hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.public void deleteScreen(int hDisplay)
hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.public void clearScreen(int hDisplay, int keepDepth)
hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.KeepDepth
- gives the number of plots to retain (displayed in
the assigned 'keep' color (default = grey) on the display chart.public void recallScreen(int hDisplay)
hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.public boolean isScreenLocked(int hDisplay)
hDisplay
- is the display handle referring to the plot
in question. This is the return value of the original call
to the draw() method.public void setScreenLocked(int hDisplay, boolean value)
hDisplay
- is the display handle referring to the plot
in question. This is the return value of the original call
to the draw() method.value
- is the desired screen lock statehDisplay
- value
- public long lockScreen(int LockOn, int hDisplay)
public int printText(java.lang.String text)
text
- is the text to be displayed on the chart.public int printText(java.lang.String text, double xpos, double ypos)
text
- is the text to be displayed on the chart.xpos
- is the x position (according to the assigned
chart's horizontal maximum and minimum) of the begining of the
text field.ypos
- is the y position (according to the assigned
chart's vertical maximum and minimum) of the begining of the
text field.public void clearText()
public void clearText(int hText)
hText
- is the text handle returned from the original
call to printText(). A value of '-1' clears all displayed
text.public void recallText(int hText)
hText
- is the text handle referring to the text field to which the
text has been applied. This is the return value of the original call
to the printText() method.public int refreshText(java.lang.String newText, int hText)
newText
- is the new text to use in the designated text field.hText
- is the text field handle referring to the text which
should be refreshed. This is the return value of the original call
to the printText() method.public void setAveragingDepth(int averagingDepth)
public int getAveragingDepth()
public void setAveragingMode(int averagingMode)
public int getAveragingMode()
public void setCaption(java.lang.String caption)
caption
- is the new acop chart caption. An
embedded '\n' will result in a new line in the caption.public java.lang.String getCaption()
public void setCaptionLocation(int captionPosition)
public int getCaptionLocation()
public void setDisplayMode(Acop.displayModes newMode)
displayMode
- is the desired display mode.public void setDisplayMode(int mode)
mode
- is the desired display mode. This should be one of
polyline = 0,
barline = 1,
histogram = 2,
dots = 3,
histogram_rastoring = 4,
rectangle = 5,
circle = 6,
textbox = 7,
polyline_dots = 8,
barline_dots = 9,
histogram_dots = 10,
histogram_rastoring_dots = 11,
barline_histo = 12,
barline_histo_dots = 13,
polyline_cross = 14,
annotation = 15,
status = 16,
barline_bit = 17;public int getDisplayMode()
public void setDrawWidth(int drawWidth)
drawWidth
- public int getDrawWidth()
public void setXRange(double xMin, double xMax)
public void setYRange(double yMin, double yMax)
public void setXYRange(double xMin, double xMax, double yMin, double yMax)
public void setXMin(double minValue)
minValue
- is the desired display minimum valuepublic double getXMin()
public void setXMax(double maxValue)
maxValue
- is the desired display maximum valuepublic double getXMax()
public void setYMin(double minValue)
minValue
- is the desired display minimum valuepublic double getYMin()
public void setYMax(double maxValue)
maxValue
- is the desired display maximum valuepublic double getYMax()
public void setSecondaryYMin(double minValue)
minValue
- is the desired display minimum valuepublic double getSecondaryYMin()
public void setSecondaryYMax(double maxValue)
maxValue
- is the desired display maximum valuepublic double getSecondaryYMax()
public void setFrameWidth(int frameWidth)
public int getFrameWidth()
public void setFrameLeftOffset(int newOffset)
newOffset
- is the desired 'left' offset of the
acop frame with respect to the chart. By default all border
frame offsets are set to 20.public int getFrameLeftOffset()
public void setFrameRightOffset(int newOffset)
newOffset
- is the desired 'right' offset of the
acop frame with respect to the chart. By default all border
frame offsets are set to 20.public int getFrameRightOffset()
public void setFrameTopOffset(int newOffset)
newOffset
- is the desired 'top' offset of the
acop frame with respect to the chart. By default all border
frame offsets are set to 20.public int getFrameTopOffset()
public void setFrameBottomOffset(int newOffset)
newOffset
- is the desired 'bottom' offset of the
acop frame with respect to the chart. By default all border
frame offsets are set to 20.public int getFrameBottomOffset()
public void setFrameForeColor(java.awt.Color frameForeColor)
public java.awt.Color getFrameForeColor()
public void setXTickLabelColor(java.awt.Color xTickLabelColor)
public java.awt.Color getXTickLabelColor()
public void setYTickLabelColor(java.awt.Color yTickLabelColor)
public java.awt.Color getYTickLabelColor()
public void setSecondaryYTickLabelColor(java.awt.Color secondaryYTickLabelColor)
public java.awt.Color getSecondaryYTickLabelColor()
public void setSecondaryYAxisOn(boolean secondaryYAxisOn)
public boolean isSecondaryYAxisOn()
public void setSecondaryYLogOn(boolean secondaryYLogOn)
public boolean isSecondaryYLogOn()
public void setFrameFont(java.awt.Font frameFont)
public java.awt.Font getFrameFont()
public void setDrawStyle(Acop.drawStyles style)
public void setDrawStyle(int drawStyle)
drawStyle
- is the desired type of drawn line. One of
PS_SOLID = 0,
PS_DASH = 1,
PS_DOT = 2,
PS_DASH_DOT = 3;
public int getDrawStyle()
public void setFFT(int fFT)
public int getFFT()
public void setGraphStyle(Acop.graphStyles style)
style
- is the desired (enumerated) graph style.public void setGraphStyle(int graphStyle)
graphStyle
- is the desired graph style. This should be
one of
0 - LIN - LIN (x linear, y linear)
1 - LIN - LOG (x linear, y log)
2 - LOG - LIN (x log, y linear)
3 - LOG - LOG (x log, y log)
4 - TIME - LIN (x time in UTC, y linear)
5 - TIME - LOG (x time in UTC, y log)
public int getGraphStyle()
public void setGridStyle(Acop.drawStyles style)
public void setGridStyle(int gridStyle)
gridStyle
- is the desired grid style. This should be
one of
PS_SOLID = 0
PS_DASH = 1
PS_DOT = 2
PS_DASH_DOT = 3
public int getGridStyle()
public void setGridColor(java.awt.Color gridColor)
public java.awt.Color getGridColor()
public void setGridWidth(int gridWidth)
public int getGridWidth()
public void setKeepStyle(int keepStyle)
public int getKeepStyle()
public void setKeepColor(java.awt.Color newColor)
newColor
- is the desired color of 'kept' display curves.public java.awt.Color getKeepColor()
public void setKeepWidth(int keepWidth)
public int getKeepWidth()
public void setHistogramPosition(int histogramPosition)
public int getHistogramPosition()
public void setInvert(boolean invert)
public boolean isInvert()
public void setFrameBorderOn(boolean frameBorderOn)
public boolean isFrameBorderOn()
public void setRandomData(boolean randomData)
public boolean isRandomData()
public void setRandomText(boolean randomText)
public boolean isRandomText()
public void setReuseScreen(boolean reuseScreen)
public boolean isReuseScreen()
public void setReuseText(boolean reuseText)
public boolean isReuseText()
public void setScreenDepth(int screenDepth)
screenDepth
- is the desired number of buffers.public int getScreenDepth()
public void setTextDepth(int textDepth)
public int getTextDepth()
public void setWrapAround(boolean wrapAround)
public boolean isWrapAround()
public void setZooming(int zoomFlag)
zoomFlag
- is a flag containing the desired zooming critieria within
the lowest nibble. These are
0 - no zooming allowed
1 - x-axis can be zoomed
2 - y-axis can be zoomed
3 - buffered zooming is ON
The default zoomFlag is 0x07 (all bits ON), which allows both horizontal and vertical zooming and turns buffered zooming ON.
public int getZooming()
setZooming()
public void setXAxisLabel(java.lang.String text)
text
- is the text to apply to the x axis.public java.lang.String getXAxisLabel()
public void setYAxisLabel(java.lang.String text)
text
- is the text to apply to the y axis.public java.lang.String getYAxisLabel()
public void setSecondaryYAxisLabel(java.lang.String text)
text
- public java.lang.String getSecondaryYAxisLabel()
public void setXBestScale(boolean useBestScale)
useBestScale
- is the desired setting.public boolean isXBestScale()
public void setYBestScale(boolean useBestScale)
useBestScale
- is the desired setting.public boolean isYBestScale()
public void setSecondaryYBestScale(boolean useBestScale)
useBestScale
- is the desired setting.public boolean isSecondaryYBestScale()
public void setXExtent(double XExtent)
public double getXExtent()
public void setYExtent(double YExtent)
public double getYExtent()
public void setXFineTicks(int XFineTicks)
public int getXFineTicks()
public void setYFineTicks(int YFineTicks)
public int getYFineTicks()
public void setSecondaryYFineTicks(int SecondaryYFineTicks)
public int getSecondaryYFineTicks()
public void setXGrid(boolean XGrid)
public boolean isXGrid()
public void setYGrid(boolean YGrid)
public boolean isYGrid()
public void setXScale(double XScale)
public double getXScale()
public void setYScale(double YScale)
public double getYScale()
public void setXShift(double XShift)
public double getXShift()
public void setYShift(double YShift)
public double getYShift()
public void setXTicks(int XTicks)
public int getXTicks()
public void setYTicks(int YTicks)
public int getYTicks()
public void setSecondaryYTicks(int SecondaryYTicks)
public int getSecondaryYTicks()
public void setXTicksBottom(boolean XTicksBottom)
public boolean getXTicksBottom()
public void setYTicksLeft(boolean YTicksLeft)
public boolean getYTicksLeft()
public void setXTickText(boolean XTickText)
public boolean isXTickText()
public void setYTickText(boolean YTickText)
public boolean isYTickText()
public void setSecondaryYTickText(boolean SecondaryYTickText)
public boolean isSecondaryYTickText()
public int bindToSecondaryYScale(int hDisplay, boolean bind)
hDisplay
- is the handle to the acop plot to which the auto-scale
should be applied (the value returned from the original call to the
draw() method).bind
- determines whether the display is bound to the secondary
vertical (y) axis or not.public int bindToSecondaryYScale(int hDisplay)
hDisplay
- is the handle to the acop plot to which the auto-scale
should be applied (the value returned from the original call to the
draw() method).public void setColorFilled(boolean colorFilled)
public boolean isColorFilled()
public void setLeftTimeLabel(boolean leftTimeLabel)
leftTimeLabel
- is the desired setting for the
left hand time label. A value of 'false' will place
the time label on the right hand side of the plot.public boolean isLeftTimeLabel()
public void setAbsTimeDisplay(boolean absTimeDisplay)
public boolean isAbsTimeDisplay()
public void setLeftYLabel(boolean leftYLabel)
public boolean isLeftYLabel()
public void setBottomXLabel(boolean bottomXLabel)
public boolean isBottomXLabel()
public void setBarlineColorFilled(int barlineColorFilled)
public int getBarlineColorFilled()
public void setPrintTextStickyAttribute(int printTextStickyAttribute)
public int getPrintTextStickyAttribute()
public void setPrintTextLocation(int printTextLocation)
public int getPrintTextLocation()
public void setPrintTextRotation(int printTextRotation)
public int getPrintTextRotation()
public void setXlabelRotation(int xlabelRotation)
public int getXlabelRotation()
public int leadingEdge(int LeadingEdgeMode, int hDisplay)
public int leadingEdge(int hDisplay)
public void setLeadingEdgeColor(java.awt.Color LeadingEdgeColor)
public java.awt.Color getLeadingEdgeColor()
public void setLeadingEdgeGapSize(int LeadingEdgeGapSize)
public int getLeadingEdgeGapSize()
public void setLeadingEdgeMotion(int LeadingEdgeMotion)
public int getLeadingEdgeMotion()
public void setLeadingEdgeMode(int LeadingEdgeMode)
public int getLeadingEdgeMode()
public void setLeadingEdgeWidth(int LeadingEdgeWidth)
public int getLeadingEdgeWidth()
public void setLeadingEdgeStyle(int LeadingEdgeStyle)
public int getLeadingEdgeStyle()
public void setLeadingEdgeXExtent(double LeadingEdgeXExtent)
public double getLeadingEdgeXExtent()
public void setLeadingEdgeYExtent(double LeadingEdgeYExtent)
public double getLeadingEdgeYExtent()
public void autoScale(boolean xmx, boolean xmn, boolean ymx, boolean ymn)
xmx
- if 'true' will set the horizontal (x) axis
maximum value to the maximum value of any and all display plotsxmn
- if 'true' will set the horizontal (x) axis
minimum value to the minimum value of any and all display plotsymx
- if 'true' will set the vertical (y) axis
maximum value to the maximum value of any and all display plotsymn
- if 'true' will set the vertical (y) axis
minimum value to the minimum value of any and all display plotspublic void autoScale(boolean xmx, boolean xmn, boolean ymx, boolean ymn, int hDisplay)
xmx
- if 'true' will set the horizontal (x) axis
maximum value to the maximum value of any and all display plotsxmn
- if 'true' will set the horizontal (x) axis
minimum value to the minimum value of any and all display plotsymx
- if 'true' will set the vertical (y) axis
maximum value to the maximum value of any and all display plotsymn
- if 'true' will set the vertical (y) axis
minimum value to the minimum value of any and all display plotshDisplay
- is the handle to the acop plot to which the auto-scale
should be applied (the value returned from the original call to the
draw() method). Passing a negative value will auto-scale all
plots managed by the chart.public void update(java.awt.Graphics a)
update
in class javax.swing.JComponent
public static void main(java.lang.String[] argv)
public void addAcopListener(AcopListener l)
public void removeAcopListener(AcopListener l)
public void notifyAcop(int id, int link, int code)
public void setCursorMarkerColor(java.awt.Color cursorMarkerColor)
public java.awt.Color getCursorMarkerColor()
public void setCursorMarkerMode(int cursorMarkerMode)
public int getCursorMarkerMode()
public void setCursorMarkerStyle(int cursorMarkerStyle)
public int getCursorMarkerStyle()
public void setCursorMarkerWidth(int cursorMarkerWidth)
public int getCursorMarkerWidth()
public void setCursorMarkerXExtent(double newExtent)
newExtent
- is the desired marker horizontal (x) extent.setMarkerColor
public double getCursorMarkerXExtent()
public void setCursorMarkerYExtent(double newExtent)
newExtent
- is the desired marker vertical (y) extent.setMarkerColor
public double getCursorMarkerYExtent()
public void setMarkerColor(java.awt.Color newColor)
newColor
- is the desired marker color.setCursorMarkerYExtent, setCursorMarkerXExtent
public java.awt.Color getMarkerColor()
public void setMarkerMode(int markerMode)
public int getMarkerMode()
public void setMarkerStyle(int markerStyle)
public int getMarkerStyle()
public void setMarkerWidth(int markerWidth)
public int getMarkerWidth()
public void setMarkerXExtent(double markerXExtent)
public double getMarkerXExtent()
public void setMarkerYExtent(double markerYExtent)
public double getMarkerYExtent()
public int setErrorWindow(double xMax, double xMin, double yMax, double yMin)
xMax
- gives the maximum X bounds for the error window in
user coordinates. Data whose X values are greater than XMax
will be drawn using the associated 'error' color.xMin
- gives the minimum X bounds for the error window in
user coordinates. Data whose X values are less than XMin
will be drawn using the associated 'error' color.yMax
- gives the maximum Y bounds for the error window in
user coordinates. Data whose Y values are greater than YMax
will be drawn using the associated 'error' color.yMin
- gives the minimum Y bounds for the error window in
user coordinates. Data whose Y values are less than YMin
will be drawn using the associated 'error' color.setErrorColor
@Deprecated public int errorWindow(double XMax, double XMin, double YMax, double YMin)
XMax
- XMin
- YMax
- YMin
- @Deprecated public int errorWindow(int hDisplay, double XMax, double XMin, double YMax, double YMin)
hDisplay
- XMax
- XMin
- YMax
- YMin
- public int setErrorWindow(int hDisplay, double xMax, double xMin, double yMax, double yMin)
hDisplay
- is the display handle referring to the plot
in question. This is the return value of the original call
to the draw() method.xMax
- gives the maximum X bounds for the error window in
user coordinates. Data whose X values are greater than XMax
will be drawn using the associated 'error' color.xMin
- gives the minimum X bounds for the error window in
user coordinates. Data whose X values are less than XMin
will be drawn using the associated 'error' color.yMax
- gives the maximum Y bounds for the error window in
user coordinates. Data whose Y values are greater than YMax
will be drawn using the associated 'error' color.yMin
- gives the minimum Y bounds for the error window in
user coordinates. Data whose Y values are less than YMin
will be drawn using the associated 'error' color.setErrorColor
public void setErrorColor(java.awt.Color color)
color
- is the display color to use for out-of-bounds
error data.public java.awt.Color getErrorColor()
public void setTagColor(java.awt.Color color)
color
- is the desired tag color.public java.awt.Color getTagColor()
public void setTagging(boolean tagging)
public boolean isTagging()
public void clearTags(int hDisplay)
hDisplay
- is the display handle referring to the plot to which the
data are to be appended. This is the return value of the original call
to the draw() method.public boolean marker()
public boolean marker(int hDisplay)
public boolean marker(boolean MarkerOn)
public boolean marker(boolean MarkerOn, int hDisplay)
public boolean isTagged(int index, int hDisplay)
public boolean isTagged(int index, int value, int hDisplay)
public int getTaggedColor(java.awt.Color[] ColorArray, int Npoints, int StartIndex, int hDisplay)
public void setForeground(java.awt.Color c)
setForeground
in class javax.swing.JComponent
public void setBackground(java.awt.Color c)
setBackground
in class javax.swing.JComponent
public de.desy.acop.transport.AcopTransport getAcopTransport()
public void setAcopTransport(de.desy.acop.transport.AcopTransport acopTransport)
acopTransport
- The acopTransport to set.public com.cosylab.gui.components.util.PopupManager getPopupManager()
getPopupManager
in interface com.cosylab.gui.components.util.PopupManageable
PopupManageable.getPopupManager()
public boolean isPopupEnabled()
public void setPopupEnabled(boolean enabled)
enabled
- true if enable or false if disabledspublic com.cosylab.gui.components.customizer.AbstractCustomizerPanel getCustomizer()
public boolean isZoomFlag()
public void setForceWidth(boolean force)
force
- true if width is force or false otherwisepublic boolean isForceWidth()
public double[] getCurveFitResults(int hDisplay)
public int[] getAnnotations(int handle)
public int[] getStatuses(int handle)
public double getYDataMax(int hDisplay)
public double getYDataMin(int hDisplay)
public double getYDataMean(int hDisplay)
public double getYDataRms(int hDisplay)
public double getYDataStdDiv(int hDisplay)
public double getXDataMax(int hDisplay)
public double getXDataMin(int hDisplay)
public double getXDataMean(int hDisplay)
public double getXDataRms(int hDisplay)
public double getXDataStdDiv(int hDisplay)
public double getCursorXValue(int hDisplay)
public void lockCursorToCurrentScreenPosition(boolean lock)
public int getCursorXPosition()
public void setCursorXPosition(int cursor)
public void setPrintTextLine(boolean print)
print
- true if the line is printed or false otherwisepublic boolean isPrintTextLine()
public void setAppendLineIndexInTextMode(boolean append)
append
- true for appending the indexes or false otherwisepublic boolean isAppendLineIndexInTextMode()
public int getZoomIndex()
public int persistScreen(int hDisplay, int depth, boolean memCopy, boolean endlessFlag, java.awt.Color persistColor)
public int persistScreen(int hDisplay, int depth, boolean memCopy, java.awt.Color persistColor)
public int persistScreen(int hDisplay, int depth, java.awt.Color persistColor)
public int refreshPersistScreen(java.lang.Object Yarray, int hDisplay)
public void persistClear(int hDisplay)
public void setXLeftLabel(java.lang.String text)
text
- is the text to apply to the x axis.public java.lang.String getXLeftLabel()
public void setXRightLabel(java.lang.String text)
public java.lang.String getXRightLabel()
public void setBitDisplayMask(int bitMask)
public int getBitDisplayMask()
public void setGanttBitDisplayBase(double ganttBitBase)
public double getGanttBitDisplayBase()
public void setGanttBitDisplayHeight(double ganttBitHeight)
public double getGanttBitDisplayHeight()
public void setYLabel(java.lang.String[] ylabel, int start, int interval)
public void setYLabel(java.lang.String[] ylabel)
public java.lang.String[] getYLabel()
public void setYLabelDisplayOffset(int yLabelDisplayOffset)
public int getYLabelDisplayOffset()
public void setXAxisDisplayOffsetMode(int mode)
mode
- is the desired axis display offset mode
Set the acop chart X-axis display offset mode.
one of
0 - Off (normal X-axis display)
1 - Use X-min (X-axis origin = 0 in display)
2 - Use Modular (x-axis origin = modulo most significant common offset)
public int getXAxisDislayOffsetMode()
public double getXAxisDisplayOffset()
public void setYAxisDisplayOffsetMode(int mode)
mode
- is the Y-axis display offset mode.
one of
0 - Off (normal Y-axis display)
1 - Use Y-min (Y-axis origin = 0 in display)
2 - Use Modular (Y-axis origin = modulo most significant common offset)
public int getYAxisDislayOffsetMode()
public double getYAxisDisplayOffset()
public void setSecondYAxisDisplayOffsetMode(int mode)
mode
- is the secondary Y-axis display offset mode.
one of
0 - Off (normal secondary Y-axis display)
1 - Use secondary Y-min (secondary Y-axis origin = 0 in display)
2 - Use Modular (secondary Y-axis origin = modulo most significant common offset)
public int getSecondYAxisDislayOffsetMode()
public double getSecondYAxisDisplayOffset()
public void setTextAntiAliasing(boolean antialias)
public boolean isTextAntiAliasing()
public void setWeightedStatistics(boolean weightStatitics)
public boolean isWeightedStatistics()
public void setLimitXTickToBoundaries(boolean limit)
limit
- public boolean isLimitTickToBoundaries()