public final class DefaultScale extends Object implements IsDefaultScale
| Modifier and Type | Method and Description |
|---|---|
IsDefaultAdapters |
getAdapters()
Returns the adapter defaults.
|
IsDefaultAngleLines |
getAngleLines()
Returns the angle lines default.
|
String |
getBackgroundColorAsString()
Returns the background color of the scale area.
|
Bounds |
getBounds()
Returns the property controls the scale boundary strategy (bypassed by min/max time options).
|
Display |
getDisplay()
Returns how showing the axis.
|
int |
getGrace()
Returns the value in pixels is added to the maximum data value and subtracted from the minimum data.
This extends the scale range as if the data values were that much greater. |
String |
getGraceAsPercentage()
Returns the value in percentage is added to the maximum data value and subtracted from the minimum data.
This extends the scale range as if the data values were that much greater. |
IsDefaultGrid |
getGrid()
Returns the grid defaults.
|
double |
getMax()
Returns the user defined maximum number for the scale, overrides maximum value from data.
|
double |
getMin()
Returns the user defined minimum number for the scale, overrides minimum value from data.
|
IsDefaultPointLabels |
getPointLabels()
Returns the point labels defaults.
|
AxisPosition |
getPosition()
An axis can either be positioned at the edge of the chart, at the center of the chart area, or dynamically with respect to a data value.
To position the axis at the edge of the chart, set the position option to one of: 'top', 'left', 'bottom', 'right'. To position the axis at the center of the chart area, set the position option to 'center'. |
String |
getStack()
Returns the stack group.
Axes at the same position with same stack are stacked. |
double |
getStackWeight()
Returns the weight of the scale in stack group.
Used to determine the amount of allocated space for the scale within the group. |
double |
getStartAngle()
Returns the starting angle to draw arcs for the first item in a dataset.
|
double |
getSuggestedMax()
Returns the adjustment used when calculating the maximum data value.
|
double |
getSuggestedMin()
Returns the adjustment used when calculating the minimum data value.
|
IsDefaultTicks |
getTicks()
Returns the ticks defaults.
|
IsDefaultTime |
getTime()
Returns the time defaults.
|
IsDefaultScaleTitle |
getTitle()
Returns the scale title defaults
|
double |
getWeight()
The weight used to sort the axis.
|
boolean |
isAlignToPixels()
Returns
true to align pixel values to device pixels. |
boolean |
isAnimate()
Returns whether to animate scaling the chart from the center.
|
boolean |
isBeginAtZero()
If true, scale will include 0 if it is not already included.
|
boolean |
isOffset()
If true, extra space is added to the both edges and the axis is scaled to fit in the the chart area.
|
boolean |
isReverse()
Returns the reverses order of tick labels.
|
boolean |
isSingleStacked()
Returns if you might want to stack positive and negative values together.
|
boolean |
isStacked()
Returns if the axis are stacked or not.
|
public IsDefaultAngleLines getAngleLines()
IsDefaultScalegetAngleLines in interface IsDefaultScalepublic IsDefaultGrid getGrid()
IsDefaultScalegetGrid in interface IsDefaultScalepublic IsDefaultPointLabels getPointLabels()
IsDefaultScalegetPointLabels in interface IsDefaultScalepublic IsDefaultScaleTitle getTitle()
IsDefaultScalegetTitle in interface IsDefaultScalepublic IsDefaultTicks getTicks()
IsDefaultScalegetTicks in interface IsDefaultScalepublic IsDefaultTime getTime()
IsDefaultScalegetTime in interface IsDefaultScalepublic IsDefaultAdapters getAdapters()
IsDefaultScalegetAdapters in interface IsDefaultScalepublic boolean isStacked()
IsDefaultScaleisStacked in interface IsDefaultScalepublic boolean isSingleStacked()
IsDefaultScaleisSingleStacked in interface IsDefaultScalepublic double getWeight()
IsDefaultScalegetWeight in interface IsDefaultScalepublic Display getDisplay()
IsDefaultScalegetDisplay in interface IsDefaultScalepublic boolean isOffset()
IsDefaultScaleisOffset in interface IsDefaultScalepublic AxisPosition getPosition()
IsDefaultScalegetPosition in interface IsDefaultScalepublic Bounds getBounds()
IsDefaultScalegetBounds in interface IsDefaultScalepublic boolean isBeginAtZero()
IsDefaultScaleisBeginAtZero in interface IsDefaultScalepublic int getGrace()
IsDefaultScalegetGrace in interface IsDefaultScalepublic String getGraceAsPercentage()
IsDefaultScalegetGraceAsPercentage in interface IsDefaultScalepublic double getMin()
IsDefaultScalegetMin in interface IsDefaultScalepublic double getMax()
IsDefaultScalegetMax in interface IsDefaultScalepublic double getSuggestedMax()
IsDefaultScalegetSuggestedMax in interface IsDefaultScalepublic double getSuggestedMin()
IsDefaultScalegetSuggestedMin in interface IsDefaultScalepublic boolean isAlignToPixels()
IsDefaultScaletrue to align pixel values to device pixels.isAlignToPixels in interface IsDefaultScaletrue to align pixel values to device pixelspublic boolean isReverse()
IsDefaultScaleisReverse in interface IsDefaultScalepublic boolean isAnimate()
IsDefaultScaleisAnimate in interface IsDefaultScalepublic double getStartAngle()
IsDefaultScalegetStartAngle in interface IsDefaultScalepublic String getBackgroundColorAsString()
IsDefaultScalegetBackgroundColorAsString in interface IsDefaultScalepublic String getStack()
IsDefaultScalegetStack in interface IsDefaultScalepublic double getStackWeight()
IsDefaultScalegetStackWeight in interface IsDefaultScale