public interface IZoomInfo
Modifier and Type | Field and Description |
---|---|
static int |
AVG |
static int |
COUNT |
static int |
COUNTDISTINCT |
static int |
DAY |
static int |
FIRST |
static int |
HOUR |
static int |
LAST |
static int |
MAX |
static int |
MAX_OPS |
static int |
MIN |
static int |
MINUTE |
static int |
MONTH |
static int |
SECOND |
static int |
STDDEV |
static int |
SUM |
static int |
SUMSQUARE |
static int |
VARIANCE |
static int |
WEEK |
static int |
YEAR
Constants for the Date/Time units
|
Modifier and Type | Method and Description |
---|---|
int |
getAggregateOperator()
Get the aggregate operator used for aggregating points along the primary value axis.
|
java.util.Date |
getLowerBound()
Returns the lower bound value (min value) plotted in the category axis.
|
int |
getMaxScaleUnit()
Get the maximum allowable scale unit.
|
int |
getMaxScaleValue()
Get the maximum allowable scale value
|
int |
getMinScaleUnit()
Get the minimum allowable scale unit.
|
int |
getMinScaleValue()
Get the minimum allowable scale value.
|
int |
getScaleUnit()
Returns the unit of the scale value being used.
|
int |
getScaleValue()
Get the scale value used while plotting the new data
|
int |
getSecondaryAggregateOperator()
This function gets the secondary aggregate operator.
|
java.util.Date |
getUpperBound()
Returns the upper bound value (max value) plotted in the category axis.
|
boolean |
isLinearScale()
Returns whether or not a linear scale is being used for the category axis.
|
boolean |
isZoomEnabled()
Check if the current chart contains a time-series zoom or not.
|
void |
setAggregateOperator(int aggOp)
This function sets the primary aggregate operator
|
void |
setLinearScale(boolean isLinear)
Enables/Disables drawing of a linear scale for the category axis.
|
void |
setLowerBound(java.util.Date lowerBound)
Sets the lower bound (min) value used in zooming.
|
void |
setMaxScale(int value,
int unit)
Sets the maximum allowable scale unit and value used in zoom.
|
void |
setMinScale(int value,
int unit)
Sets the minimum allowable scale unit and value used in zoom.
|
void |
setScale(int value,
int unit)
Sets the unit and value of scaling to be performed.
|
void |
setSecondaryAggregateOperator(int aggOp)
This function sets the secondary aggregate operator.
|
void |
setUpperBound(java.util.Date upperBound)
Sets the upper bound (max) value used in zooming.
|
void |
setZoomEnabled(boolean isZoomEnabled)
Enable/Disable zooming along a time-series category axis.
|
static final int MIN
static final int MAX
static final int AVG
static final int SUM
static final int COUNT
static final int FIRST
static final int LAST
static final int SUMSQUARE
static final int VARIANCE
static final int STDDEV
static final int COUNTDISTINCT
static final int MAX_OPS
static final int YEAR
static final int MONTH
static final int WEEK
static final int DAY
static final int HOUR
static final int MINUTE
static final int SECOND
boolean isZoomEnabled()
void setZoomEnabled(boolean isZoomEnabled)
isZoomEnabled
- Set it to true if zooming is required, false otherwise.int getAggregateOperator()
void setAggregateOperator(int aggOp)
aggOp
- The aggregate operator used for displaying points along the primary value axis.
Valid aggregate operators are MIN, MAX, AVG, SUM, and COUNT.getAggregateOperator()
int getSecondaryAggregateOperator()
getAggregateOperator()
void setSecondaryAggregateOperator(int aggOp)
aggOp
- The secondary aggregate Operator. Valid aggregate operators are MIN, MAX, AVG,
SUM, and COUNT.setAggregateOperator(int)
boolean isLinearScale()
void setLinearScale(boolean isLinear)
isLinear
- Set it to true if a linear scale is desired, false otherwise.java.util.Date getLowerBound()
void setLowerBound(java.util.Date lowerBound)
lowerBound
- The lower bound used in zooming. The type of the lower bound parameter should be
one of:
java.sql.Date java.sql.Time java.sql.Timestamp
java.util.Date getUpperBound()
getLowerBound()
void setUpperBound(java.util.Date upperBound)
upperBound
- The upper bound value used in zooming.setLowerBound(java.util.Date)
int getScaleUnit()
IZoomInfo.YEAR IZoomInfo.MONTH IZoomInfo.WEEK IZoomInfo.DAY IZoomInfo.HOUR IZoomInfo.MINUTE IZoomInfo.SECOND
int getScaleValue()
getScaleUnit()
,
setScale(int, int)
void setScale(int value, int unit)
unit
- The scale unit to use.value
- The scale value to use.getScaleUnit()
,
getScaleValue()
int getMinScaleUnit()
getScaleUnit()
int getMinScaleValue()
getScaleValue()
void setMinScale(int value, int unit)
unit
- The minimum allowable scale unit.value
- The minimum allowable scale value.setScale(int, int)
int getMaxScaleUnit()
getMinScaleUnit()
int getMaxScaleValue()
getMinScaleValue()
void setMaxScale(int value, int unit)
unit
- The maximum allowable scale unit.value
- The maximum allowable scale valuesetMinScale(int, int)