public abstract class ChartAreaModelWithAxes extends ChartAreaModel
ChartElement.Predicate<T>
Modifier and Type | Field and Description |
---|---|
AxisModel |
primaryFirstAxis |
AxisModel |
primarySecondAxis |
children
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
ChartAreaModelWithAxes()
Creates an instance of the
ChartAreaModelWithAxes |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(ChartAnnotationModel annotation)
Adds an annotation to the current Chart model.
|
ModifyChildrenResult |
canAddChild(ChartNode child)
Gets a
ModifyChildrenResult value that determines if a child can be added to this element. |
boolean |
isTreeLoaded()
Gets a value determining whether the node three of the parent chart is been loaded.
|
void |
removeAnnotation(ChartAnnotationModel annotation)
Removes the specified annotation from the current model.
|
void |
removeAxis(AxisModel axis)
Removes the provided
AxisModel from the current ChartAreaModelWithAxes . |
void |
setAxis(AxisModel axis,
AxisType type)
|
void |
setGrid(ChartGridModel grid)
Sets up support for drawing Grid lines on the current
ChartAreaModelWithAxes instance. |
beginUpdate, endUpdate, getDispatcher, getNotLoadedReasons, getPlotArea, getSeries, getView, invalidate, invalidateNode, isSuspended, loadElementTree, onPanOffsetChanged, onZoomChanged, previewMessage
enumDescendants, enumDescendants, enumDescendants, findAncestor, findDescendant, getPresenter, isAncestorOf, setPresenter
applyLayoutRounding, arrange, arrange, chartArea, clearValue, collectionIndex, getLayoutSlot, getNodeState, getParent, index, invalidate, isVisible, load, setIsVisible, setParent, setValue
getTypedValue, getValue, isLocalValue
public AxisModel primaryFirstAxis
public AxisModel primarySecondAxis
public ChartAreaModelWithAxes()
ChartAreaModelWithAxes
public boolean isTreeLoaded()
ChartNode
isTreeLoaded
in class ChartAreaModel
true
if the tree is loaded, otherwise false
.public void removeAxis(AxisModel axis)
AxisModel
from the current ChartAreaModelWithAxes
.axis
- the AxisModel
describing the axis to remove.public void setGrid(ChartGridModel grid)
ChartAreaModelWithAxes
instance.grid
- an instance of the ChartGridModel
class used by the drawing engine to draw the grid lines.public void addAnnotation(ChartAnnotationModel annotation)
annotation
- the ChartAnnotationModel
instance representing the annotation.public void removeAnnotation(ChartAnnotationModel annotation)
annotation
- the ChartAnnotationModel
instance representing the annotation to remove.public ModifyChildrenResult canAddChild(ChartNode child)
ChartElement
ModifyChildrenResult
value that determines if a child can be added to this element.canAddChild
in class ChartAreaModel
child
- The child to be considered.