com.quinncurtis.chart2djava
Class ChartPlot
java.lang.Object
com.quinncurtis.chart2djava.ChartObj
com.quinncurtis.chart2djava.GraphObj
com.quinncurtis.chart2djava.ChartPlot
- All Implemented Interfaces:
- ChartConstants, java.lang.Cloneable
- Direct Known Subclasses:
- ContourPlot, GroupPlot, PieChart, PolarPlot, SimplePlot
public abstract class ChartPlot
- extends GraphObj
The ChartPlot class extends the GraphObj class and is the abstract base class
for all plot chart objects in the QCChart2D class library.
Fields inherited from interface com.quinncurtis.chart2djava.ChartConstants |
ABOVE_CENTERED_PLOTAREA, ABOVE_REFERENCED_TEXT, ABSTRACT_DATASET, ACTUAL_SIZE, ALARM_TRANSITION_DECREASING_FROM_HIGH, ALARM_TRANSITION_DECREASING_TO_LOW, ALARM_TRANSITION_INCREASING_FROM_LOW, ALARM_TRANSITION_INCREASING_TO_HIGH, ALARM_TRANSITION_NONE_HIGH, ALARM_TRANSITION_NONE_LOW, ALARM_TRANSITION_NONE_NORMAL, ALTBARMODE, APRIL, ARC2D_OBJ, ARROW, ARROWPLOT, AUGUST, AUTO_RESIZE_OBJECTS, AUTOAXES_EXACT, AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_STACKED, AUTOAXES_UNSTACKED, AUTOCHART, AUTOSCALE, AXIS, AXIS_CENTER, AXIS_MAX, AXIS_MIN, AXISLABELS, AXISTITLE, BACKGROUND, BACKGROUND_ELLIPSE, BACKGROUND_RECTANGLE, BACKGROUND_ROUNDEDRECTANGLE, BARDATAPOINTVALUE, BARPLOT, BELOW_CENTERED_PLOTAREA, BELOW_REFERENCED_TEXT, BOTH_AXES, BOTTOM_BORDER, BOTTOM_SIDE, BUBBLELEGEND, BUBBLEPLOT, BUBLELEGENDITEM, BUFFERED_IMAGE_RENDERING, BUFFEREDIMAGE, BUSINESSFORMAT, CANDLESTICK, CARTESIAN_COORDINATES, CELL_PLOT, CENTER_GRAPH, CENTER_PLOT, CENTER_RADIUS_BOTTOM, CENTER_RADIUS_LEFT, CENTER_RADIUS_RIGHT, CENTER_RADIUS_TOP, CENTERED_BAR, CHART_FOOTER, CHART_HEADER, CHART_SUBHEAD, CHARTATTRIBUTE, CHARTBRUSHES, CHARTCALENDAR, CHARTPENS, CIRCLE, COLUMN_MAJOR, COMBINE_DATASET_ADD, COMBINE_DATASET_DIVIDE, COMBINE_DATASET_MULTIPLY, COMBINE_DATASET_SUBTRACT, COMBINE_DATASET_X, COMBINE_DATASET_XY, COMBINE_DATASET_Y, CONTOUR_DATASET, CONTOUR_FILL, CONTOUR_LINE, CONTOUR_LINEANDFILL, CONTOUR_LINEPOLYGON, CONTOUR_LINEWALK, CONTOURLINE, COORD_SIZE, CROSS, CROSSOVER_DAY, CROSSOVER_MONTH, CROSSOVER_NONE, CROSSOVER_WEEK, CROSSOVER_YEAR, CURRENCYBUSINESSFORMAT, CURRENCYFORMAT, CUSTOM_POSITION, CUSTOMAXIS, CUSTOMSYMBOL, DATA_MOVEABLE, DATA_TOOLTIP_CUSTOM, DATA_TOOLTIP_GROUP_MULTILINE, DATA_TOOLTIP_OHLC, DATA_TOOLTIP_X, DATA_TOOLTIP_XY_ONELINE, DATA_TOOLTIP_XY_TWOLINE, DATA_TOOLTIP_Y, DATACOMPRESS_AVERAGE, DATACOMPRESS_MAX, DATACOMPRESS_MIN, DATACOMPRESS_MINMAX, DATACOMPRESS_NONE, DATACOMPRESS_SKIP, DATACOMPRESS_SUM, DATACURSOR, DATAVALUE_SYMBOL_SELECTON, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, DECEMBER, DECIMALFORMAT, DEFAULTFORMAT, DEV_POS, DIAMOND, DOWNTRIANGLE, EmptyColor, ENGINEERINGFORMAT, ERROR_ARRAY_NEW, ERROR_ARRAY_NEW_STRING, ERROR_AUTOSCALE, ERROR_AUTOSCALE_DATASET, ERROR_AUTOSCALE_DATASET_STRING, ERROR_AUTOSCALE_DATASETSARRAY, ERROR_AUTOSCALE_DATASETSARRAY_STRING, ERROR_AUTOSCALE_STRING, ERROR_AUTOSCALE_TRANSFORM, ERROR_AUTOSCALE_TRANSFORM_STRING, ERROR_AXIS, ERROR_AXIS_STRING, ERROR_AXISLABLES, ERROR_AXISLABLES_STRING, ERROR_AXISRANGE, ERROR_AXISRANGE_STRING, ERROR_AXISTICKS, ERROR_AXISTICKS_STRING, ERROR_BAD_POLYSURFACE, ERROR_BAD_POLYSURFACE_STRING, ERROR_BARDATAVALUE, ERROR_BARDATAVALUE_STRING, ERROR_BORDER, ERROR_BORDER_STRING, ERROR_COMPONENT, ERROR_COMPONENT_STRING, ERROR_CONTOURDATASET, ERROR_CONTOURDATASET_STRING, ERROR_DATASET, ERROR_DATASET_STRING, ERROR_DATASETSIZE, ERROR_DATASETSIZE_STRING, ERROR_DELAUNAY, ERROR_DELAUNAY_STRING, ERROR_FILECLOSE, ERROR_FILECLOSE_STRING, ERROR_FILEIO, ERROR_FILEIO_STRING, ERROR_FILEOPEN, ERROR_FILEOPEN_STRING, ERROR_FILEREAD, ERROR_FILEREAD_STRING, ERROR_FILEWRITE, ERROR_FILEWRITE_STRING, ERROR_FONT, ERROR_FONT_STRING, ERROR_GRID_ROW_COL, ERROR_GRID_ROW_COL_STRING, ERROR_GROUPDATASET, ERROR_GROUPDATASET_STRING, ERROR_IMAGE, ERROR_IMAGE_STRING, ERROR_INVALID_ALARM_EVENT_ARGUEMENT, ERROR_INVALID_ALARM_EVENT_ARGUEMENT_STRING, ERROR_INVALID_ROUNDED_RECTANGLE_ARGUEMENT, ERROR_INVALID_ROUNDED_RECTANGLE_ARGUEMENT_STRING, ERROR_LEGEND, ERROR_LEGEND_STRING, ERROR_LEGENDITEMSYMBOL, ERROR_LEGENDITEMSYMBOL_STRING, ERROR_LEGENDITEMTEXT, ERROR_LEGENDITEMTEXT_STRING, ERROR_NONE, ERROR_NONE_STRING, ERROR_NULL_ANNUNCIATOR_RECT, ERROR_NULL_ANNUNCIATOR_RECT_STRING, ERROR_NULL_METER_INDICATOR, ERROR_NULL_METER_INDICATOR_STRING, ERROR_NULL_PLOT_TEMPLATE, ERROR_NULL_PLOT_TEMPLATE_STRING, ERROR_NULL_PROCESSVAR, ERROR_NULL_PROCESSVAR_STRING, ERROR_NULLBASEAXIS, ERROR_NULLBASEAXIS_STRING, ERROR_NULLVIEWPORT, ERROR_NULLVIEWPORT_STRING, ERROR_OBJ_NEW, ERROR_OBJ_NEW_STRING, ERROR_OBJECTMISMATCH, ERROR_OBJECTMISMATCH_STRING, ERROR_PLOTOBJ, ERROR_PLOTOBJ_STRING, ERROR_POLARAXES, ERROR_POLARAXES_STRING, ERROR_SCALERANGE, ERROR_SCALERANGE_STRING, ERROR_SCALING, ERROR_SCALING_STRING, ERROR_SHAPE, ERROR_SHAPE_STRING, ERROR_SIMPLEDATASET, ERROR_SIMPLEDATASET_STRING, ERROR_SMALLVIEWPORT, ERROR_SMALLVIEWPORT_STRING, ERROR_SUPERZOOM, ERROR_SUPERZOOM_STRING, ERROR_SYMBOL, ERROR_SYMBOL_STRING, ERROR_TEXT, ERROR_TEXT_STRING, ERROR_TIMELABEL, ERROR_TIMELABEL_STRING, ERROR_WRONGAXISTYPE, ERROR_WRONGAXISTYPE_STRING, ERRORBAR, EXPONENTFORMAT, FASTCLIP_X, FASTCLIP_Y, FEBRUARY, FIXED_X_ASPECT_RATIO_CORRECTION, FIXED_Y_ASPECT_RATIO_CORRECTION, FLOATINGBAR, FNP_DIST, FNP_NORMDIST, FNP_NORMX, FNP_NORMY, FNP_X, FNP_Y, FRIDAY, FRONT_FACE_SELECTION, FULL_PLOTAREA_CLIPPING, FULL_POLYSURFACE_SELECTION, GRADIENT_MAPTO_GRAPH_NORMALIZED_COORDINATES, GRADIENT_MAPTO_OBJECT, GRADIENT_MAPTO_PLOT_NORMALIZED_COORDINATES, GRADIENT_MAPTO_PLOT_PHYSICAL_COORDINATES, GRADIENT_NONE, GRAPH_AREA_CLIPPING, GRAPH_BACKGROUND, GRAPHAREA_BOTTOM, GRAPHAREA_LEFT, GRAPHAREA_RIGHT, GRAPHAREA_TOP, GRAPHTITLE, GRID, GRID_ALL, GRID_MAJOR, GRID_MINOR, GROUP_DATASET, GROUPBAR, HBAR, HIGHLIGHT_COLOR, HISTOGRAMPLOT, HORIZ_DIR, HOUR, HOUR_OF_DAY, ICHARTOBJECTPLOT, IMAGE, INHERIT_CLIPPING, INSET_3D_LOOK, INSIDE_BAR, INSIDE_BARBASE, INSIDE_INDICATOR, INSIDE_PLOTAREA_MAX, INSIDE_PLOTAREA_MIN, INSIDE_RADIUS_BOTTOM, INSIDE_RADIUS_TOP, JANUARY, JULY, JUNE, JUSTIFY_CENTER, JUSTIFY_MAX, JUSTIFY_MIN, LABEL_ALL, LABEL_INTERCEPT, LABEL_MAX, LABEL_MIN, LABEL_ORIGIN, LEFT_BORDER, LEFT_BUTTON, LEFT_CENTERED_PLOTAREA, LEFT_REFERENCED_TEXT, LEFT_SIDE, LEGEND, LEGEND_FOOTER, LEGEND_HEADER, LEGEND_SUBHEAD, LEGENDITEM, LIGHT_LOWER_LEFT, LIGHT_LOWER_RIGHT, LIGHT_NONE, LIGHT_STRAIGHT_ON, LIGHT_UPPER_LEFT, LIGHT_UPPER_RIGHT, LINE, LINEAR_AUTOSCALE, LINEAR_SCALE, LINEAR_SCALE_OBJ, LINEARAXIS, LINEGAP, LINEMARKERPLOT, LINEPLOT, LM_S, LOG_AUTOSCALE, LOG_SCALE, LOG_SCALE_OBJ, LOGAXIS, LS_DASH_2_2, LS_DASH_4_2, LS_DASH_4_4, LS_DASH_8_4, LS_DASH_DOT, LS_DOT_1_1, LS_DOT_1_2, LS_DOT_1_4, LS_DOT_1_8, LS_SOLID, MANUAL_RESIZE_OBJECTS, MARCH, MARKER, MARKER_BOX, MARKER_CROSS, MARKER_HLINE, MARKER_HVLINE, MARKER_NULL, MARKER_VLINE, MAX_LOG_VALUE, MAY, METER_LABEL_HORIZONTAL, METER_LABEL_PERPENDICULAR, METER_LABEL_RADIAL_1, METER_LABEL_RADIAL_2, MILLISECOND, MIN_LOG_VALUE, MINUTE, MONDAY, MONTH, MOVE_X, MOVE_XY, MOVE_Y, MOVING_AVERAGE_X, MOVING_AVERAGE_XY, MOVING_AVERAGE_Y, MTICKS, MULTILINE, NEITHER_AXIS, NO_ASPECT_RATIO_CORRECTION, NO_AUTOSCALE, NO_CLIPPING, NO_DATECROSSOVER, NO_FASTCLIP, NO_RESIZE_OBJECTS, NO_SELECTION, NO_STEP, NOOBJECT, NORM_GRAPH_POS, NORM_PLOT_POS, NORM_PROBABILITY_SCALE_OBJ, NOSYMBOL, NOT_MOVEABLE, NOT_SPECIALCONTROL_TYPE, NOVEMBER, NUMERIC_COORDINATE, NUMERICAXISLABELS, NUMERICLABEL, OBJECT_DISABLE, OBJECT_ENABLE, OBJECT_ENABLE_NODRAW, OBJECT_MOVEABLE, OCTOBER, OHLC, OUTSET_3D_LOOK, OUTSIDE_BAR, OUTSIDE_BARBASE, OUTSIDE_INDICATOR, OUTSIDE_PLOTAREA_MAX, OUTSIDE_PLOTAREA_MIN, OUTSIDE_RADIUS_BOTTOM, OUTSIDE_RADIUS_TOP, OVERLAP_LABEL_DELETE, OVERLAP_LABEL_DRAW, OVERLAP_LABEL_STAGGER, PERCENT_NOPERCENTSIGN_FORMAT, PERCENTFORMAT, PHYS_POS, PHYSICAL_COORDINATES, PICTUREBOX_TYPE, PIECHART, PIELABEL_INSLICE, PIELABEL_NONE, PIELABEL_NUMVALUE, PIELABEL_OUTSLICE, PIELABEL_STRING, PIELABEL_STRINGNUMVAL, PLOT_AREA_CLIPPING, PLOT_BACKGROUND, PLOTAREA_CENTER, PLUS, POLAR_AXIS, POLAR_COORDINATES, POLAR_POS, POLARAXES, POLARAXESLABELS, POLARGRID, POLARLINEPLOT, POLARSCATTERPLOT, POLYSURFACE_SQUAREGRID, POLYSURFACE_TRIANGLEGRID, PRE_RENDER_ALL, PRE_RENDER_AXES, PRE_RENDER_NONE, PRE_RENDER_ZORDER_CHANGE, PRINTER_RENDERING, PROBABILITY_AUTOSCALE, PROBABILITY_AXIS, PROBABILITY_COORDINATES, PROBABILITY_SCALE, PROBABILITY_SIGMA_AXIS, PRT_EXACT, PRT_MAX, PRT_PROP, PRT_RECT, RADIOBUTTON_TYPE, RADIUS_BOTTOM, RADIUS_CENTER, RADIUS_LEFT, RADIUS_RIGHT, RADIUS_TOP, rBadDataValue, RENDER_HIGHQUALITY, RENDER_LOWQUALITY, RENDER_STANDARDQUALITY, REPLACE_DATECROSSOVER, RIGHT_BORDER, RIGHT_BUTTON, RIGHT_CENTERED_PLOTAREA, RIGHT_REFERENCED_TEXT, RIGHT_SIDE, ROUNDED_RECTANGLE2D, ROW_MAJOR, RT_3DFRAME, RT_ALARM, RT_ALARM_GREATERTHAN, RT_ALARM_INDICATOR, RT_ALARM_LIMIT_BACKGROUND_INDICATOR, RT_ALARM_LIMIT_LINE_INDICATOR, RT_ALARM_LIMIT_SYMBOL_INDICATOR, RT_ALARM_LOWERTHAN, RT_ALARM_NONE, RT_ALARM_PANEL_METER, RT_ANNUNCIATOR_PLOT, RT_AUTO_BARGRAPH, RT_AUTO_METER, RT_AUTO_SCROLL_GRAPH, RT_AUTOSCALE_X, RT_AUTOSCALE_X_CURRENT_SCALE, RT_AUTOSCALE_X_MAX, RT_AUTOSCALE_X_MIN, RT_AUTOSCALE_X_MINMAX, RT_AUTOSCALE_Y, RT_AUTOSCALE_Y_CURRENT_SCALE, RT_AUTOSCALE_Y_MAX, RT_AUTOSCALE_Y_MIN, RT_AUTOSCALE_Y_MINMAX, RT_BAR_INDICATOR, RT_BAR_NUMERIC_VALUE, RT_BAR_SEGMENTED_SUBTYPE, RT_BAR_SINGLE_SEGMENT_SUBTYPE, RT_BAR_SOLID_SUBTYPE, RT_BAR_TIME_VALUE, RT_BARTAG, RT_BOTTOM_HIGH_ALARM_SYMBOL, RT_BOTTOM_LOW_ALARM_SYMBOL, RT_BOTTOM_SETPOINT_SYMBOL, RT_CEILING_VALUE, RT_COMBO_PROCESSVAR, RT_CONTROL_BUTTON_TYPE, RT_CONTROL_MOMENTARYBUTTON_SUBTYPE, RT_CONTROL_RADIOBUTTON_SUBTYPE, RT_CONTROL_SCROLLBAR_TYPE, RT_CONTROL_TOGGLEBUTTON_SUBTYPE, RT_CONTROL_TRACKBAR_TYPE, RT_CUSTOM_STRING, RT_DATASET, RT_DETALED_DESCRIPTION_STRING, RT_DISPLAY_ALL_ALARMS, RT_DISPLAY_NO_ALARM, RT_DISPLAY_PRIMARY_ALARM, RT_FIXEDEXTENT_AUTOWRAP_AUTOSCROLL, RT_FIXEDEXTENT_MOVINGSTART_AUTOSCROLL, RT_FIXEDNUMPOINT_AUTOSCROLL, RT_FLOOR_VALUE, RT_FORM_CONTROL, RT_FORM_CONTROL_GRID, RT_FORM_CONTROL_PANEL_METER, RT_GEN_SHAPE, RT_GRAPH_OBJ, RT_GROUP_DATASET, RT_GROUP_MULTIVALUE_PLOT, RT_INDICATOR_COLOR_CHANGE_ON_ALARM, RT_INDICATOR_COLOR_NO_ALARM_CHANGE, RT_INDICATORRECT_CONTROL_SIZE, RT_LEFT_HIGH_ALARM_SYMBOL, RT_LEFT_LOW_ALARM_SYMBOL, RT_LEFT_SETPOINT_SYMBOL, RT_MAXEXTENT_FIXEDSTART_AUTOSCROLL, RT_METER_ARC_BAND_SUBTYPE, RT_METER_ARC_FLAT_CAP, RT_METER_ARC_INDICATOR, RT_METER_ARC_RADIUS_CAP, RT_METER_ARC_WEDGE_WIDTH_CAP, RT_METER_AXIS, RT_METER_AXIS_LABELS, RT_METER_COORDINATES, RT_METER_FACEPLATE, RT_METER_INDICATOR, RT_METER_NEEDLE_ARROW_SUBTYPE, RT_METER_NEEDLE_INDICATOR, RT_METER_NEEDLE_PIEWEDGE_SUBTYPE, RT_METER_NEEDLE_SIMPLE_SUBTYPE, RT_METER_SEGMENTED_ARC_SUBTYPE, RT_METER_SINGLE_SEGMENT_ARC_SUBTYPE, RT_METER_SINGLE_SYMBOL_SUBTYPE, RT_METER_STRING_AXIS_LABELS, RT_METER_SYMBOL_ARC_SUBTYPE, RT_METER_SYMBOL_INDICATOR, RT_MIN_CONTROL_SIZE, RT_MONOTONIC_X_MODE, RT_MULTIALARM_INDICATOR, RT_MULTIBAR_INDICATOR, RT_MULTIPOINTER_INDICATOR, RT_MULTIVALUE_ANNUNCIATOR, RT_MULTIVALUE_INDICATOR, RT_NMETER, RT_NO_ALARM_LIMIT_INDICATOR, RT_NO_AUTOSCALE_X, RT_NO_AUTOSCALE_Y, RT_NO_SYMBOL, RT_NOT_MONOTONIC_X_MODE, RT_NUMERIC_PANEL_METER, RT_ORIG_CONTROL_SIZE, RT_PIDCONTROL, RT_PLOT, RT_POINTER_INDICATOR, RT_POINTER_SUBTYPE, RT_PROCESSVAR, RT_PROCESSVAR_ALARM, RT_RIGHT_HIGH_ALARM_SYMBOL, RT_RIGHT_LOW_ALARM_SYMBOL, RT_RIGHT_SETPOINT_SYMBOL, RT_ROUND_VALUE, RT_SCROLL_FRAME, RT_SETPOINT_VALUE, RT_SHAPE_ELLIPSE, RT_SHAPE_RECTANGLE, RT_SHAPE_ROUNDEDRECTANGLE, RT_SHORT_DESCRIPTION_STRING, RT_SIMPLE_DATASET, RT_SIMPLE_SINGLEVALUE_PLOT, RT_SINGLE_CHANNEL_PANEL_METER, RT_SINGLE_VALUE_INDICATOR, RT_STRING_PANEL_METER, RT_SYMBOL, RT_TAG_STRING, RT_TEXT_BACKGROUND_COLOR_CHANGE_ON_ALARM, RT_TEXTFRAME, RT_TIME_GROUP_DATASET, RT_TIME_PANEL_METER, RT_TIME_SIMPLE_DATASET, RT_TOP_HIGH_ALARM_SYMBOL, RT_TOP_LOW_ALARM_SYMBOL, RT_TOP_SETPOINT_SYMBOL, RT_TRACKBAR_HORIZONTAL_CENTER_POINTER, RT_TRACKBAR_HORIZONTAL_DOWN_POINTER, RT_TRACKBAR_VERTICAL_CENTER_POINTER, RT_TRACKBAR_VERTICAL_RIGHT_POINTER, RT_UNIQUEID_STRING, RT_UNITS_STRING, RTPID_POSITIONCONTROL, RTPID_VELOCITYCONTROL, SATURDAY, SCALE_FACTOR_SIZE, SCATTERPLOT, SCIENTIFICFORMAT, SCREEN_RENDERING, SCROLLBAR_TYPE, SECOND, SECONDSPERDAY, SEPTEMBER, SHADOW_COLOR, SHAPE, SIGMA_FORMAT, SIMPLE_DATASET, SIMPLE_PLOTAREA_CLIPPING, SIMPLEBUTTON_TYPE, SIMPLECOLORMODE, SIMPLEGRADIENTMODE, SIZE_BUBBLE_AREA, SIZE_BUBBLE_RADIUS, sizeOfDouble, SQUARE, STACKEDBAR, STACKEDLINE, STAR, STEP_END, STEP_NO_RISE_LINE, STEP_START, STRINGAXISLABELS, STRINGLABEL, SUNDAY, SYMBOL, TEXT, THURSDAY, TICK_MAJOR, TICK_MINOR, TICKS, TIME_AUTOSCALE, TIME_COORDINATE, TIME_COORDINATES, TIME_GROUP_DATASET, TIME_SCALE, TIME_SCALE_OBJ, TIME_SIMPLE_DATASET, TIMEAXIS, TIMEAXIS_10MINUTEMINUTE, TIMEAXIS_10SECONDSECOND, TIMEAXIS_10YEARYEAR, TIMEAXIS_12HOURHOUR, TIMEAXIS_15MINUTEMINUTE, TIMEAXIS_15SECONDSECOND, TIMEAXIS_20YEAR5YEAR, TIMEAXIS_2HOURHOUR, TIMEAXIS_2MINUTEMINUTE, TIMEAXIS_2SECONDSECOND, TIMEAXIS_30MINUTEMINUTE, TIMEAXIS_30SECONDSECOND, TIMEAXIS_4HOURHOUR, TIMEAXIS_50YEAR10YEAR, TIMEAXIS_5MINUTEMINUTE, TIMEAXIS_5SECONDSECOND, TIMEAXIS_5YEARYEAR, TIMEAXIS_8HOURHOUR, TIMEAXIS_DAY, TIMEAXIS_DAY12HOUR, TIMEAXIS_DAY2HOUR, TIMEAXIS_DAY4HOUR, TIMEAXIS_DAY8HOUR, TIMEAXIS_DAYHOUR, TIMEAXIS_HOUR, TIMEAXIS_HOUR10MINUTE, TIMEAXIS_HOUR15MINUTE, TIMEAXIS_HOUR2MINUTE, TIMEAXIS_HOUR30MINUTE, TIMEAXIS_HOUR5MINUTE, TIMEAXIS_HOURMINUTE, TIMEAXIS_MILLISECOND, TIMEAXIS_MILLISECOND1, TIMEAXIS_MILLISECOND2, TIMEAXIS_MILLISECOND3, TIMEAXIS_MINUTE, TIMEAXIS_MINUTE10SECOND, TIMEAXIS_MINUTE15SECOND, TIMEAXIS_MINUTE2SECOND, TIMEAXIS_MINUTE30SECOND, TIMEAXIS_MINUTE5SECOND, TIMEAXIS_MINUTESECOND, TIMEAXIS_MONTH, TIMEAXIS_MONTHDAY, TIMEAXIS_MONTHWEEK, TIMEAXIS_QUARTER, TIMEAXIS_QUARTERMONTH, TIMEAXIS_SECOND, TIMEAXIS_SECONDMILLISECOND, TIMEAXIS_WEEK, TIMEAXIS_WEEKDAY, TIMEAXIS_YEAR, TIMEAXIS_YEARMONTH, TIMEAXIS_YEARQUARTER, TIMEAXISLABELS, TIMEBASE_DAY, TIMEBASE_HOUR, TIMEBASE_MILLISECOND, TIMEBASE_MINUTE, TIMEBASE_MONTH, TIMEBASE_SECOND, TIMEBASE_TICKS, TIMEBASE_WEEK, TIMEBASE_YEAR, TIMEDATEFORMAT, TIMEDATEFORMAT_12HM, TIMEDATEFORMAT_12HMS, TIMEDATEFORMAT_12HMSD, TIMEDATEFORMAT_12HMSDD, TIMEDATEFORMAT_24HM, TIMEDATEFORMAT_24HMS, TIMEDATEFORMAT_24HMSD, TIMEDATEFORMAT_24HMSDD, TIMEDATEFORMAT_D, TIMEDATEFORMAT_DDD, TIMEDATEFORMAT_DDDD, TIMEDATEFORMAT_DMY, TIMEDATEFORMAT_DMY2000, TIMEDATEFORMAT_M, TIMEDATEFORMAT_MDY, TIMEDATEFORMAT_MDY2000, TIMEDATEFORMAT_MMM, TIMEDATEFORMAT_MMMM, TIMEDATEFORMAT_MS, TIMEDATEFORMAT_MSD, TIMEDATEFORMAT_MSDD, TIMEDATEFORMAT_MSDDD, TIMEDATEFORMAT_MY, TIMEDATEFORMAT_MY2000, TIMEDATEFORMAT_NONE, TIMEDATEFORMAT_Q, TIMEDATEFORMAT_STANDARD, TIMEDATEFORMAT_Y, TIMEDATEFORMAT_Y2000, TIMELABEL, TOP_BORDER, TOP_SIDE, TRACKBAR_TYPE, TransparentColor, TUESDAY, UNDECIMBER, UNDER_DATECROSSOVER, UPTRIANGLE, USER_COORD_MAX, USER_COORDINATES, USER_POS, USERGRADIENTMODE, USERTEXTUREMODE, VBAR, VERT_DIR, WEDNESDAY, WEEK_5D, WEEK_7D, WEEK_OF_MONTH, WEEK_OF_YEAR, WORKING_COORDINATES, WORLD_COORDINATES, X_AXIS, XY_MAXZ_PLANE, XY_MINZ_PLANE, XY_PLANE, XZ_MAXY_PLANE, XZ_MINY_PLANE, XZ_PLANE, Y_AXIS, YEAR, YZ_MAXX_PLANE, YZ_MINX_PLANE, YZ_PLANE, Z_AXIS, ZOOM |
Constructor Summary |
ChartPlot()
The default ChartPlot constructor. |
Method Summary |
abstract boolean |
calcNearestPoint(ChartPoint2D testpoint,
int nmode,
NearestPointData nearestpoint)
An abstract method that must compare a test point against all of the xy points in a dataset and
calculates which point in the dataset is nearest the test point. |
boolean |
checkIntersection(ChartPoint2D testpoint,
NearestPointData np)
Returns true if the test point is near one of the data points. |
boolean |
checkValidPoint(double x,
double y,
boolean valid)
This method checks to see if the current data point is valid |
void |
copy(ChartPlot source)
Copies the source plot object. |
int |
createLineFillArrays(double[] xdest,
double[] ydest,
double[] xsource,
double[] ysource,
boolean[] valid,
int numpoints,
int norient)
This method creates a closed polygon that can be filled. |
void |
drawBarDatapointValue(java.awt.Graphics2D g2,
double x,
double y,
ChartRectangle2D barrect)
This method draws a bar data point value, based on the bar position and orientation. |
void |
drawSimpleDatapointValue(java.awt.Graphics2D g2,
double x,
double y,
double displayvalue1)
This method draws a data point value, based on the point position. |
int |
errorCheck(int nerror)
Checks the plot object for common errors. |
void |
freeSegmentColors()
This method frees the memory associated with the segmentAttributesVector vector and turns the
segment color mode off. |
int |
getBarDatapointLabelPosition()
Returns the bar data point label position. |
int |
getBarJust()
Returns the justification of bars in bar graph plot objects. |
int |
getBarOrient()
Returns the orientation for bar plots. |
double |
getBarWidth()
Returns the width of bars, in physical coordinates, for bar plots. |
boolean |
getCoordinateSwap()
Returns the plot objects coordinate swap mode. |
abstract ChartDataset |
getDataset()
An abstract method that must returns a reference to the current dataset. |
int |
getFastClipMode()
Returns the plot objects fast clip mode. |
double |
getFillBaseValue()
Returns the base value, in physical coordinates, of solid (bars and filled areas) plot objects. |
int |
getLabelTemplateDecimalPos()
Returns number of digits to the right of the decimal point in the plotLabelTemplate property. |
int |
getLabelTemplateNumericFormat()
Returns the numeric format of the plotLabelTemplate property. |
NumericLabel |
getPlotLabelTemplate()
Returns the plot objects data point template. |
ChartAttribute |
getSegmentAttributes(int nsegment)
This method returns a reference to the segment attribute object at the index nsegment. |
boolean |
getSegmentAttributesMode()
This method returns the state of the segment attribute mode. |
boolean |
getShowDatapointValue()
Returns true if the showDatapointValue flag is set true. |
int |
getStepMode()
Returns the plot objects step mode. |
void |
initSegmentAttributes()
Sets all attribute objects in the segmentAttributesVector vector to a copy of the current
object attributes. |
void |
initSegmentAttributes(ChartAttribute attrib)
Sets all attribute objects in the segmentAttributesVector vector to a copy of the
specified ChartAttribute object. |
void |
initSegmentAttributes(ChartAttribute[] attribs,
GroupDataset dataset)
Sets the size of the segmentAttributesVector vector and initializes it with the
specified ChartAttribute objects. |
void |
initSegmentAttributes(ChartAttribute[] attribs,
int nnumsegments)
Sets the size of the segmentAttributesVector vector and initializes it with the specified
ChartAttribute objects. |
void |
initSegmentAttributes(ChartAttribute attribs,
GroupDataset dataset)
Sets the size of the segmentAttributesVector vector and initializes it with the
specified ChartAttribute object. |
void |
initSegmentAttributes(ChartAttribute attrib,
int nnumsegments)
Sets all attribute objects in the segmentAttributesVector vector to a copy of the specified
ChartAttribute object. |
void |
prePlot(java.awt.Graphics2D g2)
The prePlot method is called prior to the actual drawing of a plot object. |
void |
resizeSegmentAttributes(int numsegments)
This method resizes the segment attributes vector, usually in response to in a change in the
underlying group dataset. |
void |
segmentAttributesSet(int index)
Sets the graphics attributes for the current graphics context to the attributes associated
with a specific ChartAttribute object in the segmentAttributesVector vector. |
void |
segmentSymbolAttributesSet(int index,
ChartSymbol chartsymbol)
Sets the graphics attributes for a symbol to the attributes associated with a specific
ChartAttribute object in the segmentAttributesVector vector. |
void |
setBarDatapointLabelPosition(int pos)
Bar plots that support the display of data point values have the option of displaying the
data points numeric values above the bar, below the bar, or centered in the bar. |
void |
setBarJust(int barjust)
Sets the justification of bars in bar graph plot objects. |
void |
setBarOrient(int barorient)
Sets the orientation for bar plots. |
void |
setBarWidth(double rwidth)
Sets the width of bars, in physical coordinates, for bar plots. |
void |
setFastClipMode(int fastclip)
Sets the plot objects fast clip mode. |
void |
setFillBaseValue(double rbase)
Sets the base value, in physical coordinates, of solid (bars and filled areas) plot objects. |
void |
setLabelTemplateDecimalPos(int ndecplace)
Sets number of digits to the right of the decimal point in the plotLabelTemplate property. |
void |
setLabelTemplateNumericFormat(int nformat)
Sets the numeric format of the plotLabelTemplate property. |
void |
setPlotLabelTemplate(NumericLabel numlabel)
Sets the plot objects data point template. |
void |
setSegmentAttributes(int nsegment,
ChartAttribute attrib)
Sets the attribute object at the index nsegment to a copy of the specified ChartAttribute object. |
void |
setSegmentAttributesMode(boolean bmode)
This method turns the segment attribute mode on and off. |
void |
setSegmentColor(int nsegment,
java.awt.Color rgbcolor)
Sets the line and fill color of the attribute object at the index nsegment. |
void |
setSegmentFillColor(int nsegment,
java.awt.Color rgbcolor)
Sets the fill color of the attribute object at the index nsegment. |
void |
setSegmentLineColor(int nsegment,
java.awt.Color rgbcolor)
Sets the line color of the attribute object at the index nsegment. |
void |
setShowDatapointValue(boolean show)
If the plot supports it, this method will turn on the display of data values next to the
associated data point. |
void |
setStepMode(int stepmode)
Sets the plot objects step mode. |
Methods inherited from class com.quinncurtis.chart2djava.GraphObj |
addInternalObjects, clone, copy, defaultcheckIntersection, draw, getBoundingBox, getChartObjAttributes, getChartObjClipping, getChartObjComponent, getChartObjEnable, getChartObjScale, getColor, getDefaultChartFont, getIntersectionTestDistance, getLineColor, getLineStyle, getLineWidth, getLocation, getLocation, getLocation, getMoveableType, getPositionType, getResizeMultiplier, getUpdateFlag, getZOrder, moveRel, setChartObjAttributes, setChartObjClipping, setChartObjComponent, setChartObjEnable, setChartObjScale, setColor, setDefaultChartFont, setIntersectionTestDistance, setLineColor, setLineStyle, setLineWidth, setLocation, setLocation, setLocation, setLocation, setLocation, setPositionType, setResizeMultiplier, setUpdateFlag, setZOrder, TypeSafeVectorCopy |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChartPlot
public ChartPlot()
- The default ChartPlot constructor.
calcNearestPoint
public abstract boolean calcNearestPoint(ChartPoint2D testpoint,
int nmode,
NearestPointData nearestpoint)
- An abstract method that must compare a test point against all of the xy points in a dataset and
calculates which point in the dataset is nearest the test point. The nearness test has many
different forms: Nearness Mode Constant Description FNP_X nearest x FNP_Y nearest y FNP_DIST
shortest distance FNP_NORMX nearest normalized x FNP_NORMY nearest normalized y FNP_NORMDIST
shortest normalized distance
- Parameters:
testpoint
- The test point for the nearness calculation.nmode
- Specifies the algorithm used in the nearness calculation.nearestpoint
- Returns the xy values of the dataset point nearest the test point.
- Returns:
- Returns true if a valid data point is found and returned.
checkIntersection
public boolean checkIntersection(ChartPoint2D testpoint,
NearestPointData np)
- Returns true if the test point is near one of the data points.
- Specified by:
checkIntersection
in class GraphObj
- Parameters:
testpoint
- The test pointnp
- Returns nearest point data for assoicated test. *
- Returns:
- Returns true if the test point intersects the object.
checkValidPoint
public boolean checkValidPoint(double x,
double y,
boolean valid)
- This method checks to see if the current data point is valid
- Parameters:
x
- The x-value of the data point.y
- The y-value of the data point.valid
- The valid data flag of the data point.
- Returns:
- Returns true if the data point is valid.
copy
public void copy(ChartPlot source)
- Copies the source plot object.
- Parameters:
source
- The source plot object.
createLineFillArrays
public int createLineFillArrays(double[] xdest,
double[] ydest,
double[] xsource,
double[] ysource,
boolean[] valid,
int numpoints,
int norient)
- This method creates a closed polygon that can be filled. It is used by the filled line plot
objects to fill underneath the line.
- Parameters:
xdest
- Returns an array of x-coordinates for the closed polygon.ydest
- Returns an array of y-coordinates for the closed polygon.xsource
- The source array for the x-coordinates.ysource
- The source array for the y-coordinates.valid
- The valid array for the line plot object.numpoints
- The number of points in the xsource and ysource arrays.norient
- The orientation of the fill. The fill polygon is created using the
fillBaseValue property as either the base of the filled polygon for the y-dimension (VERT_DIR) or
the x-dimension (HORIZ_DIR).
drawBarDatapointValue
public void drawBarDatapointValue(java.awt.Graphics2D g2,
double x,
double y,
ChartRectangle2D barrect)
- This method draws a bar data point value, based on the bar position and orientation.
- Parameters:
g2
- Specifies the graphics context.x
- The x-value of the datapoint represented by the bar.y
- The y-value of the datapoint represented by the barbarrect
- The rectangle of the bar.
drawSimpleDatapointValue
public void drawSimpleDatapointValue(java.awt.Graphics2D g2,
double x,
double y,
double displayvalue1)
- This method draws a data point value, based on the point position.
- Parameters:
g2
- Specifies the graphics context.x
- The x-value of the datapoint represented by the bar.y
- The y-value of the datapoint represented by the bardisplayvalue1
- The numeric value that is displayed next to the data point.
errorCheck
public int errorCheck(int nerror)
- Checks the plot object for common errors.
- Overrides:
errorCheck
in class GraphObj
- Parameters:
nerror
- Current error state
- Returns:
- Returns an error code.
freeSegmentColors
public void freeSegmentColors()
- This method frees the memory associated with the segmentAttributesVector vector and turns the
segment color mode off.
getBarDatapointLabelPosition
public int getBarDatapointLabelPosition()
- Returns the bar data point label position.
- Returns:
- Returns the bar data point label position.
getBarJust
public int getBarJust()
- Returns the justification of bars in bar graph plot objects.
- Returns:
- Returns the justification of bars in bar graph plot objects.
getBarOrient
public int getBarOrient()
- Returns the orientation for bar plots.
- Returns:
- Returns the orientation for bar graphs.
getBarWidth
public double getBarWidth()
- Returns the width of bars, in physical coordinates, for bar plots.
- Returns:
- Returns the width of bars, in physical coordinates, for bar plots.
getCoordinateSwap
public boolean getCoordinateSwap()
- Returns the plot objects coordinate swap mode.
- Returns:
- Returns the plot objects coordinate swap mode.
getDataset
public abstract ChartDataset getDataset()
- An abstract method that must returns a reference to the current dataset.
- Returns:
- Returns a reference to the current dataset.
getFastClipMode
public int getFastClipMode()
- Returns the plot objects fast clip mode.
- Returns:
- Returns the plot objects fast clip mode.
getFillBaseValue
public double getFillBaseValue()
- Returns the base value, in physical coordinates, of solid (bars and filled areas) plot objects.
- Returns:
- Returns the base value, in physical coordinates, of solid (bars and filled areas)
plot objects.
getLabelTemplateDecimalPos
public int getLabelTemplateDecimalPos()
- Returns number of digits to the right of the decimal point in the plotLabelTemplate property.
- Returns:
- Returns number of digits to the right of the decimal point in the plotLabelTemplate property.
getLabelTemplateNumericFormat
public int getLabelTemplateNumericFormat()
- Returns the numeric format of the plotLabelTemplate property.
- Returns:
- Returns the numeric format of the plotLabelTemplate property.
getPlotLabelTemplate
public NumericLabel getPlotLabelTemplate()
- Returns the plot objects data point template.
- Returns:
- Returns an instance of an NumericLabel object that has been initialized so that the
font, font size, color and numeric format represent a template for the display of data point
numeric values.
getSegmentAttributes
public ChartAttribute getSegmentAttributes(int nsegment)
- This method returns a reference to the segment attribute object at the index nsegment.
- Parameters:
nsegment
- The index in the segmentAttributesVector vector of the attribute object.
getSegmentAttributesMode
public boolean getSegmentAttributesMode()
- This method returns the state of the segment attribute mode.
- Returns:
- Returns true if the segment attribute mode is on.
getShowDatapointValue
public boolean getShowDatapointValue()
- Returns true if the showDatapointValue flag is set true.
- Returns:
- Returns true if the showDatapointValue flag is set true.
getStepMode
public int getStepMode()
- Returns the plot objects step mode.
- Returns:
- Returns the plot objects step mode.
initSegmentAttributes
public void initSegmentAttributes()
- Sets all attribute objects in the segmentAttributesVector vector to a copy of the current
object attributes. The segmentAttrib vector is initialized to the number of data points,
theDataset.getNumberDatapoints(), in the dataset.
initSegmentAttributes
public void initSegmentAttributes(ChartAttribute attrib)
- Sets all attribute objects in the segmentAttributesVector vector to a copy of the
specified ChartAttribute object. The segmentAttrib vector is initialized to the number of data points,
theDataset.getNumberDatapoints(), in the dataset.
- Parameters:
attrib
- All ChartAttribute objects in the segmentAttrib vector are set equal to a
copy of this attribute.
initSegmentAttributes
public void initSegmentAttributes(ChartAttribute[] attribs,
GroupDataset dataset)
- Sets the size of the segmentAttributesVector vector and initializes it with the
specified ChartAttribute objects.
- Parameters:
attribs
- An array of ChartAttribute objects, size nnumsegments.dataset
- The dataset for the group plot
initSegmentAttributes
public void initSegmentAttributes(ChartAttribute[] attribs,
int nnumsegments)
- Sets the size of the segmentAttributesVector vector and initializes it with the specified
ChartAttribute objects.
- Parameters:
attribs
- An array of ChartAttribute objects, size nnumsegments.nnumsegments
- The number of segments. For group plot objects this should be set
to the number of groups. For simple plot objects using the segment color mode this should be set to the number
of data points.
initSegmentAttributes
public void initSegmentAttributes(ChartAttribute attribs,
GroupDataset dataset)
- Sets the size of the segmentAttributesVector vector and initializes it with the
specified ChartAttribute object.
- Parameters:
attribs
- A ChartAttribute object.dataset
- The dataset for the group plot
initSegmentAttributes
public void initSegmentAttributes(ChartAttribute attrib,
int nnumsegments)
- Sets all attribute objects in the segmentAttributesVector vector to a copy of the specified
ChartAttribute object.
- Parameters:
attrib
- All ChartAttribute objects in the segmentAttrib vector are set equal to a
copy of this attribute.nnumsegments
- The number of segments. For group plot objects this should be set to
the number of groups. For simple plot objects using the segment color mode this should be set
to the number of data points.
prePlot
public void prePlot(java.awt.Graphics2D g2)
- The prePlot method is called prior to the actual drawing of a plot object. It creates a new general path
object for drawing into, sets the current coordinate system to the axis coordinate system, sets the
clipping for the plot object, and casts the Graphics object to a Graphics object.
- Overrides:
prePlot
in class GraphObj
- Parameters:
g2
- The graphics context.
resizeSegmentAttributes
public void resizeSegmentAttributes(int numsegments)
- This method resizes the segment attributes vector, usually in response to in a change in the
underlying group dataset. If the new number of segments is less than or equal to the old number,
the old attributes for the original segments are copied to the new. Otherwise new, ChartAttribute
objects are created for any new segments.
- Parameters:
numsegments
- The number of segments. For group plot objects this should be set to
the number of groups in the new dataset.
segmentAttributesSet
public void segmentAttributesSet(int index)
- Sets the graphics attributes for the current graphics context to the attributes associated
with a specific ChartAttribute object in the segmentAttributesVector vector.
- Parameters:
index
- The index of the ChartAttribute object in the segmentAttributesVector vector.
segmentSymbolAttributesSet
public void segmentSymbolAttributesSet(int index,
ChartSymbol chartsymbol)
- Sets the graphics attributes for a symbol to the attributes associated with a specific
ChartAttribute object in the segmentAttributesVector vector.
- Parameters:
index
- The index of the ChartAttribute object in the segmentAttributesVector vector.chartsymbol
- The symbol that has its attributes set.
setBarDatapointLabelPosition
public void setBarDatapointLabelPosition(int pos)
- Bar plots that support the display of data point values have the option of displaying the
data points numeric values above the bar, below the bar, or centered in the bar. Use one of
the data point label position constants: INSIDE_BAR, OUTSIDE_BAR, or CENTERED_BAR.
- Parameters:
pos
- Sets the bar data point label position.
setBarJust
public void setBarJust(int barjust)
- Sets the justification of bars in bar graph plot objects.
- Parameters:
barjust
- Sets justification of bars in bar graph plot objects. Use one of the
justification constants: JUSTIFY_MIN,JUSTIFY_CENTER,JUSTIFY_MAX.
setBarOrient
public void setBarOrient(int barorient)
- Sets the orientation for bar plots.
- Parameters:
barorient
- Sets the orientation for bar graphs. Use one of the orientation constants:
HORIZ_DIR or VERT_DIR.
setBarWidth
public void setBarWidth(double rwidth)
- Sets the width of bars, in physical coordinates, for bar plots.
- Parameters:
rwidth
- Sets the width of bars, in physical coordinates, for bar plots.
setFastClipMode
public void setFastClipMode(int fastclip)
- Sets the plot objects fast clip mode. If there is no fast clipping, all data values in a
dataset are plotting in the plot object classes. Data outside of the current plotting does
not appear because it is clipped by the Java API routines. If the FASTCLIP_X or FAST_CLIPY mode
is used, data is analyzed before it is plotted and data points outside of the current plotting
window are discarded. This can speed things up because if a dataset has 1,000,000 data points,
and only 100 are in the plotting area, only 100 points are actually plotted using the Java line
drawing routines. This is most useful in zooming applications where the user zooms from a very
large number of data points to a very small number. In order for fast clipping to work, the data
must be monotonic (always increasing) in the direction of the fast clipping. Sampled data, where
the x-axis is time, is an example of monotonic data, where the time values always increase with
each succeeding sample, never backtracking.
- Parameters:
fastclip
- Sets the plot objects step mode. Use one of the fast clip plot constants:
NO_FASTCLIP, FASTCLIP_X, FASTCLIP_Y.
setFillBaseValue
public void setFillBaseValue(double rbase)
- Sets the base value, in physical coordinates, of solid (bars and filled areas) plot objects.
- Parameters:
rbase
- Sets the base value, in physical coordinates, of solid (bars and filled areas)
plot objects.
setLabelTemplateDecimalPos
public void setLabelTemplateDecimalPos(int ndecplace)
- Sets number of digits to the right of the decimal point in the plotLabelTemplate property.
- Parameters:
ndecplace
- Sets number of digits to the right of the decimal point in the
plotLabelTemplate property.
setLabelTemplateNumericFormat
public void setLabelTemplateNumericFormat(int nformat)
- Sets the numeric format of the plotLabelTemplate property.
- Parameters:
nformat
- Sets the numeric format of the plotLabelTemplate property.
setPlotLabelTemplate
public void setPlotLabelTemplate(NumericLabel numlabel)
- Sets the plot objects data point template. If the plot supports it, this NumericLabel object is
used as a template to size, color and format the data point numeric values.
- Parameters:
numlabel
- An instance of an NumericLabel object that has been initialized so that
the font, font size, color and numeric format represent a template for the display of data point
numeric values.
setSegmentAttributes
public void setSegmentAttributes(int nsegment,
ChartAttribute attrib)
- Sets the attribute object at the index nsegment to a copy of the specified ChartAttribute object.
- Parameters:
nsegment
- The index in the segmentAttributesVector vector of the attribute object.attrib
- The ChartAttribute object at the index nsegment is set to a copy of this object.
setSegmentAttributesMode
public void setSegmentAttributesMode(boolean bmode)
- This method turns the segment attribute mode on and off.
- Parameters:
bmode
- True turns the segment attributes on, false turns it off.
setSegmentColor
public void setSegmentColor(int nsegment,
java.awt.Color rgbcolor)
- Sets the line and fill color of the attribute object at the index nsegment.
- Parameters:
nsegment
- The index in the segmentAttributesVector vector of the attribute object.rgbcolor
- The line and fill color of the ChartAttribute object at the index nsegment is
set to this value.
setSegmentFillColor
public void setSegmentFillColor(int nsegment,
java.awt.Color rgbcolor)
- Sets the fill color of the attribute object at the index nsegment.
- Parameters:
nsegment
- The index in the segmentAttributesVector vector of the attribute object.rgbcolor
- The fill color of the ChartAttribute object at the index nsegment is set to this value.
setSegmentLineColor
public void setSegmentLineColor(int nsegment,
java.awt.Color rgbcolor)
- Sets the line color of the attribute object at the index nsegment.
- Parameters:
nsegment
- The index in the segmentAttributesVector vector of the attribute object.rgbcolor
- The line color of the ChartAttribute object at the index nsegment is set to this value.
setShowDatapointValue
public void setShowDatapointValue(boolean show)
- If the plot supports it, this method will turn on the display of data values next to the
associated data point.
- Parameters:
show
- Set to true to turn on the display of data point values.
setStepMode
public void setStepMode(int stepmode)
- Sets the plot objects step mode.
- Parameters:
stepmode
- Sets the plot objects step mode. Use one of the line plot
step constants: NO_STEP, STEP_START, STEP_END, or STEP_NO_RISE_LINE.