public final class AxisItem extends ScaleItem
set
methods to change java script object properties.Constructor and Description |
---|
AxisItem(ConfigurationEnvelop<NativeObject> envelop)
Creates the item using an envelop of native java script object which contains all properties.
|
Modifier and Type | Method and Description |
---|---|
void |
setBottom(int bottom)
Sets the bottom location in pixel
|
void |
setEnd(int end)
Sets the end value of the axis
|
void |
setFullSize(boolean fullSize)
Sets
true if marks that this box should take the full width/height of the canvas (moving other boxes). |
void |
setHeight(int height)
Sets the height of axis in pixel.
|
void |
setLabelRotation(double labelRotation)
Sets the label rotation value
|
void |
setLeft(int left)
Sets the left location in pixel
|
void |
setMax(Date max)
Sets the maximum value of axis
|
void |
setMax(double max)
Sets the maximum value of axis
|
void |
setMax(String max)
Sets the maximum value of axis
|
void |
setMaxHeight(int maxHeight)
Sets the max height of the axis in pixel
|
void |
setMaxWidth(int maxWidth)
Sets the max width of axis in pixel.
|
void |
setMin(Date min)
Sets the minimum value of axis
|
void |
setMin(double min)
Sets the minimum value of axis
|
void |
setMin(String min)
Sets the minimum value of axis
|
void |
setPaddingBottom(int paddingBottom)
Sets the padding bottom in pixel
|
void |
setPaddingLeft(int paddingLeft)
Sets the padding left in pixel
|
void |
setPaddingRight(int paddingRight)
Sets the padding right in pixel
|
void |
setPaddingTop(int paddingTop)
Sets the padding top in pixel
|
void |
setPosition(Position position)
Sets the position of axis
|
void |
setRight(int right)
Sets the right location in pixel
|
void |
setStart(int start)
Sets the start value of the axis
|
void |
setTicks(String... ticks)
Sets an array of ticks
|
void |
setTop(int top)
Sets the top location in pixel
|
void |
setWeight(int weight)
Sets the weight of axis
|
void |
setWidth(int width)
Sets the width of axis
|
getAxis, getBasePixel, getBaseValue, getCharbaId, getChart, getDecimalForPixel, getDrawingArea, getEnd, getId, getLabelForValue, getLabelRotation, getMax, getMaxAsDate, getMaxAsString, getMin, getMinAsDate, getMinAsString, getPixelForDateValue, getPixelForDateValue, getPixelForDecimal, getPixelForStringValue, getPixelForStringValue, getPixelForTick, getPixelForValue, getPixelForValue, getPointLabels, getPositionAsString, getStart, getTicks, getType, getValueAtEvent, getValueAtPixel, getValueForPixel, getXCenter, getYCenter
getMaxHeight, getMaxWidth, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getWeight, isActive, isFullSize
getBottom, getHeight, getLeft, getRight, getTop, getWidth, isInside
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isConsistent
public AxisItem(ConfigurationEnvelop<NativeObject> envelop)
envelop
- envelop of native java script object which contains all properties.public void setFullSize(boolean fullSize)
true
if marks that this box should take the full width/height of the canvas (moving other boxes).fullSize
- true
if marks that this box should take the full width/height of the canvas (moving other boxes)public void setWeight(int weight)
weight
- the weight of axispublic void setMaxWidth(int maxWidth)
maxWidth
- the max width of axis in pixel.public void setMaxHeight(int maxHeight)
maxHeight
- the max height of the axis in pixelpublic void setHeight(int height)
height
- the height of axis in pixel.public void setTop(int top)
top
- the top location in pixelpublic void setBottom(int bottom)
bottom
- the bottom location in pixelpublic void setPaddingLeft(int paddingLeft)
paddingLeft
- the padding left in pixelpublic void setPaddingTop(int paddingTop)
paddingTop
- the padding top in pixelpublic void setPaddingRight(int paddingRight)
paddingRight
- the padding right in pixelpublic void setPaddingBottom(int paddingBottom)
paddingBottom
- the padding bottom in pixelpublic void setMin(String min)
min
- the minimum value of axispublic void setMax(String max)
max
- the maximum value of axispublic void setMin(double min)
min
- the minimum value of axispublic void setMax(double max)
max
- the maximum value of axispublic void setMin(Date min)
min
- the minimum value of axispublic void setMax(Date max)
max
- the maximum value of axispublic void setTicks(String... ticks)
ticks
- the array of tickspublic void setStart(int start)
start
- the start value of the axispublic void setEnd(int end)
end
- the end value of the axispublic void setLabelRotation(double labelRotation)
labelRotation
- the label rotation valuepublic void setWidth(int width)
width
- the width of axispublic void setLeft(int left)
left
- the left location in pixelpublic void setRight(int right)
right
- the right location in pixelpublic void setPosition(Position position)
position
- the position of axis