com.quinncurtis.chart2djava
Class TimeCoordinates

java.lang.Object
  extended by com.quinncurtis.chart2djava.ChartObj
      extended by com.quinncurtis.chart2djava.UserCoordinates
          extended by com.quinncurtis.chart2djava.WorldCoordinates
              extended by com.quinncurtis.chart2djava.WorkingCoordinates
                  extended by com.quinncurtis.chart2djava.PhysicalCoordinates
                      extended by com.quinncurtis.chart2djava.TimeCoordinates
All Implemented Interfaces:
ChartConstants, java.lang.Cloneable

public class TimeCoordinates
extends PhysicalCoordinates

The TimeCoordinates class extends the PhysicalCoordinates class to support a time-based x-axis and a linear or log y-axis coordinate system.


Field Summary
 
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
TimeCoordinates()
          The default constructor for TimeCoordinates.
TimeCoordinates(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2)
          This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
TimeCoordinates(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2, int nweektype)
          This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
TimeCoordinates(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2, int ntimeaxis, int nweektype)
          This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
TimeCoordinates(java.util.GregorianCalendar dstart, long starttime, double y1, java.util.GregorianCalendar dstop, long stoptime, double y2, int nweektype)
          This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
TimeCoordinates(java.util.GregorianCalendar dstart, long starttime, double y1, java.util.GregorianCalendar dstop, long stoptime, double y2, int ntimeaxis, int nweektype)
          This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
TimeCoordinates(int xscale, int yscale)
          This constructor creates a new TimeCoordinates, specifying the x- and y-coordinate systems, using default values for each.
 
Method Summary
 void autoScale(ChartDataset dataset)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.
 void autoScale(ChartDataset[] datasets)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
 void autoScale(ChartDataset[] datasets, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
 void autoScale(ChartDataset dataset, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.
 void autoScale(int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object, running the auto-axis algorithm on the current minimum and maximum scaling values.
 void autoScale(TimeGroupDataset dataset)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object.
 void autoScale(TimeGroupDataset[] datasets)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeGroupDataset datasets.
 void autoScale(TimeGroupDataset[] datasets, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeGroupDataset datasets.
 void autoScale(TimeGroupDataset dataset, int nroundmode)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object.
 void autoScale(TimeGroupDataset dataset, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object.
 void autoScale(TimeSimpleDataset dataset)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.
 void autoScale(TimeSimpleDataset[] datasets)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
 void autoScale(TimeSimpleDataset[] datasets, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
 void autoScale(TimeSimpleDataset dataset, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.
 void calcTimeAutoScale(ChartDataset[] datasets, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
 void calcTimeAutoScale(ChartDataset dataset, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied T imeSimpleDataset dataset.
 boolean checkValidDate(java.util.GregorianCalendar cdate)
          This method checks to see if the specified date is valid, checking to see if it within the specified time of day limits.
 boolean checkValidPoint(double x, double y)
          This method checks to see if the specified data point is valid, checking to see if the date component it within the specified time of day limits, and the numeric component is a valid number.
 java.lang.Object clone()
          Returns an object that is a clone of this TimeCoordinates object.
 void copy(java.lang.Object source)
          Copies the source scale.
 void copy(TimeCoordinates source)
          Copies the source scale.
 int errorCheck(int nerror)
          Checks the current TimeCoordinates object for common errors.
 Axis getCompatibleAxis(int axis)
          Returns an TimeAxis axis compatible with the time axis of this object.
 long getScaleStartTOD()
          This method returns the starting TOD value for the time scale.
 double getScaleStartY()
          This method returns the lower left y-value for the plotting area of the physical coordinate system.
 long getScaleStopTOD()
          This method returns the ending TOD value for the time scale.
 double getScaleStopY()
          This method returns the upper right y-value for the plotting area of the physical coordinate system.
 TimeScale getTimeScale(int axis)
          This method returns the TimeScale object associated with the specified axis.
 java.util.GregorianCalendar getTimeScaleStart()
          This method returns the starting value of the TimeCoordinates time scale.
 java.util.GregorianCalendar getTimeScaleStart(int axis)
          This method returns the starting value of the TimeCoordinates time scale.
 java.util.GregorianCalendar getTimeScaleStop()
          This method returns the ending value of the TimeCoordinates time scale.
 java.util.GregorianCalendar getTimeScaleStop(int axis)
          This method returns the ending value of the TimeCoordinates time scale.
 int getWeekType()
          This method returns the week type.
 void setScaleStartTOD(long starttime)
          Sets the starting TOD value for the time scale.
 void setScaleStartX(double rX1)
          Sets the lower left x-coordinate of the TimeCoordinates scale.
 void setScaleStartY(double rY1)
          Sets the lower left y-coordinate of the TimeCoordinates scale.
 void setScaleStopTOD(long stoptime)
          Sets the ending TOD value for the time scale.
 void setScaleStopX(double rX2)
          Sets the upper right x-coordinate of the TimeCoordinates scale.
 void setScaleStopY(double rY2)
          Sets the upper right y-coordinate of the TimeCoordinates scale.
 void setScaleX(double rX1, double rX2)
          Sets the x-coordinate bounds of the TimeCoordinates scale.
 void setScaleY(double rY1, double rY2)
          Sets the y-coordinate bounds of the TimeCoordinates scale.
 void setTimeCoordinateBounds(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2)
          This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
 void setTimeCoordinateBounds(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2, int nweektype)
          This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
 void setTimeCoordinateBounds(java.util.GregorianCalendar dstart, long starttod, double y1, java.util.GregorianCalendar dstop, long stoptod, double y2, int nweektype)
          This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis.
 void setTimeScaleStart(java.util.GregorianCalendar start)
          Sets the starting value of the TimeCoordinates time scale.
 void setTimeScaleStart(int axis, java.util.GregorianCalendar start)
          Sets the starting value of the TimeCoordinates time scale.
 void setTimeScaleStop(java.util.GregorianCalendar stop)
          Sets the ending value of the TimeCoordinates time scale.
 void setTimeScaleStop(int axis, java.util.GregorianCalendar stop)
          Sets the ending value of the TimeCoordinates time scale.
 void setTimeScaleTransforms(int xscale, int yscale)
          This method specifies the x- and y-coordinate systems, using default values for each.
 void setWeekType(int weektype)
          Sets the week type.
 void swapScaleOrientation()
          This method swaps the minimum x-value of the coordinate system with the minimum y-value; and the maximum x-value with the maximum y-value.
 
Methods inherited from class com.quinncurtis.chart2djava.PhysicalCoordinates
chartTransform, convertCoord, convertCoord, convertCoordArray, convertDimension, convertDimension, convertRect, convertRect, copy, getPhysPlotScale, getScaleMaxX, getScaleMaxY, getScaleMinX, getScaleMinY, getScaleStartX, getScaleStopX, getStart, getStartX, getStartY, getStop, getStopX, getStopY, getStringX, getStringY, getWCircle, getXScale, getYScale, invertScaleX, invertScaleY, normalizePoint, normalizePoint, normalizeRect, physAddX, physAddY, physToUser, physToUser, physToUserX, physToUserY, physToWorkingScale, physToWorkingScale, scaleInverted, segmentedPolyline, setCoordinateBounds, setPhysPlotScale, setPhysScale, setPhysScale, setPhysScales, setXScale, setYScale, unNormalizePoint, unNormalizePoint, unNormalizeRect, unNormalizeRect, userToPhys, userToPhys, userToPhysX, userToPhysY, wCircle, wLineAbs, wLineAbs, wLineAbs, wLineRel, wLineToAbs, wMoveToAbs, workingToPhysScale, workingToPhysScale, wPolyLineAbs, wPolyLineAbs, wPolyLineAbs, wPolyLineAbs, wPolyLineAbs, wRectangle, wRoundedRectangle, wStepLineAbs, wStepLineAbs, wStepLineToAbs, wStepLineToAbs
 
Methods inherited from class com.quinncurtis.chart2djava.WorkingCoordinates
calcWorkingScale, copy, getClippingArea, getGraphAreaScale, getGraphAspectRatio, getGraphBorderFrame, getGraphRect, getPlotAreaScale, getPlotRect, getWorkingRangeX, getWorkingRangeY, setClippingArea, setFixedGraphBorderInset, setFixedGraphBorderInsets, setGraphBorderDiagonal, setGraphBorderFrame, setGraphBorderFrame, setGraphBorderInsets, setPlotAreaScale
 
Methods inherited from class com.quinncurtis.chart2djava.WorldCoordinates
copy, getWorldCurrentPos, getWorldX1, getWorldX2, getWorldY1, getWorldY2, setWorldScale, setWorldScale, userToWorld, userToWorld, userToWorld, userToWorld, userToWorldAbsX, userToWorldAbsY, userToWorldRelX, userToWorldRelY, worldToUser, worldToUser, worldToUser, worldToUserAbsX, worldToUserAbsY, worldToUserRelX, worldToUserRelY
 
Methods inherited from class com.quinncurtis.chart2djava.UserCoordinates
calcHighlightColor, calcShadowColor, copy, drawFillCircle, drawFillPath, drawFillRectangle, endXORMode, getClippingBounds, getClipRect, getContext, getCurrentAttributes, getCurrentColor, getCurrentFont, getInitialClipRect, getIntersectClipRect, getStringAscent, getStringDescent, getStringDimension, getStringLeading, getStringLineSpace, getStringRect, getStringX, getStringY, getUserCurrentPos, getUserViewport, getUserX1, getUserX2, getUserY1, getUserY2, pLineAbs, pLineRel, pLineToAbs, pMoveRel, pMoveToAbs, pPolyLine, pRectangle, setClippingBounds, setClippingBounds, setClipRect, setClipRect, setContext, setCurrentAttributes, setCurrentColor, setCurrentFont, setFillPaint, setInitialClipRect, setUserViewport, setUserViewport, startXORMode
 
Methods inherited from class com.quinncurtis.chart2djava.ChartObj
copy, getChartObjIDCntr, getChartObjType, getThisChartObjID, TypeSafeVectorCopy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeCoordinates

public TimeCoordinates()
The default constructor for TimeCoordinates.


TimeCoordinates

public TimeCoordinates(java.util.GregorianCalendar dstart,
                       double y1,
                       java.util.GregorianCalendar dstop,
                       double y2)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. A 7 day week and a linear y-axis, time x-axis is assumed.

Parameters:
dstart - Sets the starting date value for the x-axis of the plotting area physical coordinate system.
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
y2 - Sets the upper right y-value for the plotting area physical coordinate system.

TimeCoordinates

public TimeCoordinates(java.util.GregorianCalendar dstart,
                       double y1,
                       java.util.GregorianCalendar dstop,
                       double y2,
                       int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. Linear scaling is assumed.

Parameters:
dstart - Sets the starting date value for the x-axis of the plotting area physical coordinate system.
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
y2 - Sets the upper right y-value for the plotting area physical coordinate system.
nweektype - Specifies the current week mode for calendar calculations. Use one of the time/date week constants: WEEK_7D or WEEK_5D.

TimeCoordinates

public TimeCoordinates(java.util.GregorianCalendar dstart,
                       double y1,
                       java.util.GregorianCalendar dstop,
                       double y2,
                       int ntimeaxis,
                       int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. Linear scaling is assumed.

Parameters:
dstart - Sets the starting date value for the x-axis of the plotting area physical coordinate system.
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
y2 - Sets the upper right y-value for the plotting area physical coordinate system.
ntimeaxis - Specifies whether the time axis is the x-axis or the y-axis.
nweektype - Specifies the current week mode for calendar calculations. Use one of the time/date week constants: WEEK_7D or WEEK_5D.

TimeCoordinates

public TimeCoordinates(java.util.GregorianCalendar dstart,
                       long starttime,
                       double y1,
                       java.util.GregorianCalendar dstop,
                       long stoptime,
                       double y2,
                       int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. A non-24 hour day can be used: for example 8:30 to 16:30. Linear scaling is assumed.

Parameters:
dstart - Sets the starting time of day and date value for the x-axis of the plotting area physical coordinate system.
starttime - Sets the start time used for all days in the plotting area.
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
stoptime - Sets the stop time used for all days in the plotting area.
y2 - Sets the upper right y-value for the plotting area physical coordinate system.
nweektype - Specifies the current week mode for calendar calculations. Use one of the time/date week constants: WEEK_7D or WEEK_5D.

TimeCoordinates

public TimeCoordinates(java.util.GregorianCalendar dstart,
                       long starttime,
                       double y1,
                       java.util.GregorianCalendar dstop,
                       long stoptime,
                       double y2,
                       int ntimeaxis,
                       int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. A non-24 hour day can be used: 8:30 to 16:30. Linear scaling is assumed.

Parameters:
dstart - Sets the starting time of day and date value for the x-axis of the plotting area physical coordinate system.
starttime - Sets the start time used for all days in the plotting area.
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
stoptime - Sets the stop time used for all days in the plotting area.
y2 - Sets the upper right y-value for the plotting area physical coordinate system.
ntimeaxis - Specifies if the x- or y-coordinate is the time axis. Use the X_AXIS or Y_AXIS constant.
nweektype - Specifies the current week mode for calendar calculations. Use one of the time/date week constants: WEEK_7D or WEEK_5D.

TimeCoordinates

public TimeCoordinates(int xscale,
                       int yscale)
This constructor creates a new TimeCoordinates, specifying the x- and y-coordinate systems, using default values for each.

Parameters:
xscale - Sets the x-coordinate system to either time, linear or logarithmic scaling. Use one of the scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.
yscale - Sets the y-coordinate system to either linear or logarithmic scaling. Use one of the scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.
Method Detail

autoScale

public void autoScale(ChartDataset dataset)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object. AUTOAXES_FAR rounding is assumed for both x- and y-coordindates.

Specified by:
autoScale in class PhysicalCoordinates
Parameters:
dataset - The TimeSimpleDataset dataset used as the basis for the new coordinate system.

autoScale

public void autoScale(ChartDataset[] datasets)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. AUTOAXES_FAR rounding is assumed for both x- and y-coordindates.

Specified by:
autoScale in class PhysicalCoordinates
Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.

autoScale

public void autoScale(ChartDataset[] datasets,
                      int nroundmodex,
                      int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.

Specified by:
autoScale in class PhysicalCoordinates
Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public void autoScale(ChartDataset dataset,
                      int nroundmodex,
                      int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.

Specified by:
autoScale in class PhysicalCoordinates
Parameters:
dataset - The TimeSimpleDataset dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public void autoScale(int nroundmodex,
                      int nroundmodey)
This method initializes an TimeCoordinates object, running the auto-axis algorithm on the current minimum and maximum scaling values. Linear scaling is assumed.

Specified by:
autoScale in class PhysicalCoordinates
Parameters:
nroundmodex - Sets the auto-scale mode for the x-axis. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-axis. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public void autoScale(TimeGroupDataset dataset)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object. AUTOAXES_FAR rounding is assumed for both axes.

Parameters:
dataset - The TimeGroupDataset dataset used as the basis for the new coordinate system.

autoScale

public void autoScale(TimeGroupDataset[] datasets)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeGroupDataset datasets.

Parameters:
datasets - The array of datasets used as the basis for the new coordinate system.

autoScale

public void autoScale(TimeGroupDataset[] datasets,
                      int nroundmodex,
                      int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeGroupDataset datasets.

Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public void autoScale(TimeGroupDataset dataset,
                      int nroundmode)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object.

Parameters:
dataset - The TimeGroupDataset dataset used as the basis for the new coordinate system.
nroundmode - Sets the auto-scale mode for the x- and y-coordinates. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public void autoScale(TimeGroupDataset dataset,
                      int nroundmodex,
                      int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object.

Parameters:
dataset - The TimeGroupDataset dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public void autoScale(TimeSimpleDataset dataset)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object. AUTOAXES_FAR rounding is assumed for both x- and y-coordindates.

Parameters:
dataset - The TimeSimpleDataset dataset used as the basis for the new coordinate system.

autoScale

public void autoScale(TimeSimpleDataset[] datasets)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. AUTOAXES_FAR rounding is assumed for both x- and y-coordindates.

Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.

autoScale

public void autoScale(TimeSimpleDataset[] datasets,
                      int nroundmodex,
                      int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.

Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public void autoScale(TimeSimpleDataset dataset,
                      int nroundmodex,
                      int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.

Parameters:
dataset - The TimeSimpleDataset dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

calcTimeAutoScale

public void calcTimeAutoScale(ChartDataset[] datasets,
                              int nroundmodex,
                              int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.

Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-axis. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-axis. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

calcTimeAutoScale

public void calcTimeAutoScale(ChartDataset dataset,
                              int nroundmodex,
                              int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied T imeSimpleDataset dataset.

Parameters:
dataset - The dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-axis. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-axis. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

checkValidDate

public boolean checkValidDate(java.util.GregorianCalendar cdate)
This method checks to see if the specified date is valid, checking to see if it within the specified time of day limits.

Parameters:
cdate - The date that is checked.
Returns:
Returns true if the date is valid.

checkValidPoint

public boolean checkValidPoint(double x,
                               double y)
This method checks to see if the specified data point is valid, checking to see if the date component it within the specified time of day limits, and the numeric component is a valid number.

Specified by:
checkValidPoint in class PhysicalCoordinates
Parameters:
x - The x-coordinate that is checked.
y - The y-coordinate that is checked.
Returns:
Returns true if the date is valid.

clone

public java.lang.Object clone()
Returns an object that is a clone of this TimeCoordinates object.

Overrides:
clone in class WorkingCoordinates
Returns:
Returns a clone of this TimeCoordinates object.

copy

public void copy(java.lang.Object source)
Copies the source scale.

Specified by:
copy in class PhysicalCoordinates
Parameters:
source - The source scale object.

copy

public void copy(TimeCoordinates source)
Copies the source scale.

Parameters:
source - The source scale object.

errorCheck

public int errorCheck(int nerror)
Checks the current TimeCoordinates object for common errors.

Overrides:
errorCheck in class PhysicalCoordinates
Parameters:
nerror - Current error state
Returns:
Returns an error code.

getCompatibleAxis

public Axis getCompatibleAxis(int axis)
Returns an TimeAxis axis compatible with the time axis of this object.

Specified by:
getCompatibleAxis in class PhysicalCoordinates
Parameters:
axis - Specify the coordinate direction, either x or y, using one of the axis constants: X_AXIS or Y_AXIS. Current this value is ignored and the axis returned is always an x-axis.
Returns:
Returns an TimeAxis axis compatible with the time axis of this object.

getScaleStartTOD

public long getScaleStartTOD()
This method returns the starting TOD value for the time scale.

Returns:
stoptime Returns the starting TOD value for the time scale.

getScaleStartY

public double getScaleStartY()
This method returns the lower left y-value for the plotting area of the physical coordinate system.

Overrides:
getScaleStartY in class PhysicalCoordinates
Returns:
Returns the lower left y-value for the plotting area of the physical coordinate system.

getScaleStopTOD

public long getScaleStopTOD()
This method returns the ending TOD value for the time scale.

Returns:
stoptime Returns the ending TOD value for the time scale.

getScaleStopY

public double getScaleStopY()
This method returns the upper right y-value for the plotting area of the physical coordinate system.

Overrides:
getScaleStopY in class PhysicalCoordinates
Returns:
Returns the upper right y-value for the plotting area of the physical coordinate system.

getTimeScale

public TimeScale getTimeScale(int axis)
This method returns the TimeScale object associated with the specified axis.

Parameters:
axis - Specifies the time scale axis.
Returns:
Returns the TimeScale object associated with the specified axis.

getTimeScaleStart

public java.util.GregorianCalendar getTimeScaleStart()
This method returns the starting value of the TimeCoordinates time scale.

Returns:
Returns the starting time value for the TimeCoordinates scale.

getTimeScaleStart

public java.util.GregorianCalendar getTimeScaleStart(int axis)
This method returns the starting value of the TimeCoordinates time scale.

Parameters:
axis - Specifies the time scale axis.
Returns:
Returns the starting time value for the TimeCoordinates scale.

getTimeScaleStop

public java.util.GregorianCalendar getTimeScaleStop()
This method returns the ending value of the TimeCoordinates time scale.

Returns:
Returns the ending time value for the TimeCoordinates scale.

getTimeScaleStop

public java.util.GregorianCalendar getTimeScaleStop(int axis)
This method returns the ending value of the TimeCoordinates time scale.

Parameters:
axis - Specifies the time scale axis.
Returns:
Returns the ending time value for the TimeCoordinates scale.

getWeekType

public int getWeekType()
This method returns the week type.

Returns:
Returns the week type.

setScaleStartTOD

public void setScaleStartTOD(long starttime)
Sets the starting TOD value for the time scale. The value is specified in milliseconds. The time 12 midnight would have the value 0. The value 9:30 AM would have the value 9.5(hours) 60(minutes/hour) 60(seconds/minute) 1000 (milliseconds/second), or 34200000.

Parameters:
starttime - Sets the starting TOD value for the time scale.

setScaleStartX

public void setScaleStartX(double rX1)
Sets the lower left x-coordinate of the TimeCoordinates scale. Time values are specified using milliseconds.

Overrides:
setScaleStartX in class PhysicalCoordinates
Parameters:
rX1 - Sets the lower left x-value for the TimeCoordinates scale.

setScaleStartY

public void setScaleStartY(double rY1)
Sets the lower left y-coordinate of the TimeCoordinates scale.

Overrides:
setScaleStartY in class PhysicalCoordinates
Parameters:
rY1 - Sets the lower left y-value for the TimeCoordinates scale.

setScaleStopTOD

public void setScaleStopTOD(long stoptime)
Sets the ending TOD value for the time scale. The value is specified in milliseconds. The time 12 midnight would have the value 0. The value 4:00 PM would have the value 16(hours) 60(minutes/hour) 60(seconds/minute) 1000 (milliseconds/second), or 57600000.

Parameters:
stoptime - Sets the ending TOD value for the time scale.

setScaleStopX

public void setScaleStopX(double rX2)
Sets the upper right x-coordinate of the TimeCoordinates scale. Time values are specified using milliseconds.

Overrides:
setScaleStopX in class PhysicalCoordinates
Parameters:
rX2 - Sets the upper right x-value for the TimeCoordinates scale.

setScaleStopY

public void setScaleStopY(double rY2)
Sets the upper right y-coordinate of the TimeCoordinates scale.

Overrides:
setScaleStopY in class PhysicalCoordinates
Parameters:
rY2 - Sets the upper right y-value for the TimeCoordinates scale.

setScaleX

public void setScaleX(double rX1,
                      double rX2)
Sets the x-coordinate bounds of the TimeCoordinates scale. Time values are specified using milliseconds.

Overrides:
setScaleX in class PhysicalCoordinates
Parameters:
rX1 - Sets the lower left x-value for the TimeCoordinates scale.
rX2 - Sets the upper right x-value for the TimeCoordinates scale.

setScaleY

public void setScaleY(double rY1,
                      double rY2)
Sets the y-coordinate bounds of the TimeCoordinates scale. Time values are specified using milliseconds.

Overrides:
setScaleY in class PhysicalCoordinates
Parameters:
rY1 - Sets the lower left y-value for the TimeCoordinates scale.
rY2 - Sets the upper right y-value for the TimeCoordinates scale.

setTimeCoordinateBounds

public void setTimeCoordinateBounds(java.util.GregorianCalendar dstart,
                                    double y1,
                                    java.util.GregorianCalendar dstop,
                                    double y2)
This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. A non-24 hour day can be used: for example 8:30 to 16:30. Linear scaling is assumed.

Parameters:
dstart - Sets the starting time of day and date value for the x-axis of the plotting area physical coordinate system.
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
y2 - Sets the upper right y-value for the plotting area physical coordinate system.

setTimeCoordinateBounds

public void setTimeCoordinateBounds(java.util.GregorianCalendar dstart,
                                    double y1,
                                    java.util.GregorianCalendar dstop,
                                    double y2,
                                    int nweektype)
This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. A non-24 hour day can be used: for example 8:30 to 16:30. Linear scaling is assumed.

Parameters:
dstart - Sets the starting time of day and date value for the x-axis of the plotting area physical coordinate system.
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
y2 - Sets the upper right y-value for the plotting area physical coordinate system.
nweektype - Specifies the current week mode for calendar calculations. Use one of the time/date week constants: WEEK_7D or WEEK_5D.

setTimeCoordinateBounds

public void setTimeCoordinateBounds(java.util.GregorianCalendar dstart,
                                    long starttod,
                                    double y1,
                                    java.util.GregorianCalendar dstop,
                                    long stoptod,
                                    double y2,
                                    int nweektype)
This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. A non-24 hour day can be used: for example 8:30 to 16:30. Linear scaling is assumed.

Parameters:
dstart - Sets the starting time-of-day and date value for the x-axis of the plotting area physical coordinate system.
starttod - Sets the starting time (in msecs) for the range of hours to use for a day
y1 - Sets the lower left y-value for the plotting area physical coordinate system.
dstop - Sets the ending date value for the x-axis of the plotting area physical coordinate system.
stoptod - Sets the ending time-of-day (in msecs) for the range of hours to use for a day
y2 - Sets the upper right y-value for the plotting area physical coordinate system.
nweektype - Specifies the current week mode for calendar calculations. Use one of the time/date week constants: WEEK_7D or WEEK_5D.

setTimeScaleStart

public void setTimeScaleStart(java.util.GregorianCalendar start)
Sets the starting value of the TimeCoordinates time scale.

Parameters:
start - Sets the starting time value for the TimeCoordinates scale.

setTimeScaleStart

public void setTimeScaleStart(int axis,
                              java.util.GregorianCalendar start)
Sets the starting value of the TimeCoordinates time scale.

Parameters:
axis - Specifies the time scale axis.
start - Sets the starting time value for the TimeCoordinates scale.

setTimeScaleStop

public void setTimeScaleStop(java.util.GregorianCalendar stop)
Sets the ending value of the TimeCoordinates time scale.

Parameters:
stop - Sets the ending time value for the TimeCoordinates scale.

setTimeScaleStop

public void setTimeScaleStop(int axis,
                             java.util.GregorianCalendar stop)
Sets the ending value of the TimeCoordinates time scale.

Parameters:
axis - Specifies the time scale axis.
stop - Sets the ending time value for the TimeCoordinates scale.

setTimeScaleTransforms

public void setTimeScaleTransforms(int xscale,
                                   int yscale)
This method specifies the x- and y-coordinate systems, using default values for each.

Parameters:
xscale - Sets the x-coordinate system to either time, linear or logarithmic scaling. Use one of the scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.
yscale - Sets the y-coordinate system to either linear or logarithmic scaling. Use one of the scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.

setWeekType

public void setWeekType(int weektype)
Sets the week type. Use one of the week type constants: WEEK_5D or WEEK_7D.

Parameters:
weektype - Sets the week type.

swapScaleOrientation

public void swapScaleOrientation()
This method swaps the minimum x-value of the coordinate system with the minimum y-value; and the maximum x-value with the maximum y-value.

Overrides:
swapScaleOrientation in class PhysicalCoordinates