public class CartesianGridLineAnnotation extends CartesianStrokedAnnotation
RadCartesianChartView
.STROKE_COLOR_PROPERTY_KEY, STROKE_WIDTH_PROPERTY_KEY
HORIZONTAL_ALIGNMENT_PROPERTY_KEY, HORIZONTAL_OFFSET_PROPERTY_KEY, LABEL_FORMAT_PROPERTY_KEY, LABEL_LOCATION_PROPERTY_KEY, VERTICAL_ALIGNMENT_PROPERTY_KEY, VERTICAL_OFFSET_PROPERTY_KEY
ANNOTATION_Z_INDEX
Constructor and Description |
---|
CartesianGridLineAnnotation(CartesianAxis axis,
Object value)
Creates an instance of the
CartesianGridLineAnnotation using a specified
Context , a CartesianAxis on which the annotation will be placed, a value that
determines the position of the annotation, styleable attributes and a default style. |
Modifier and Type | Method and Description |
---|---|
ChartAnnotationModel |
getModel()
Gets an instance of the
ChartAnnotationModel class representing the Chart engine model
associated with this annotation. |
Object |
getValue()
Gets the current value.
|
void |
setValue(Object value)
Sets the current value.
|
getStrokeColor, getStrokeEffect, getStrokeWidth, setStrokeColor, setStrokeEffect, setStrokeWidth
getAxis, setAxis
getLabel, getLabelFormat, getLabelHorizontalAlignment, getLabelHorizontalOffset, getLabelLocation, getLabelSize, getLabelVerticalAlignment, getLabelVerticalOffset, setLabel, setLabelFormat, setLabelHorizontalAlignment, setLabelHorizontalOffset, setLabelLocation, setLabelSize, setLabelVerticalAlignment, setLabelVerticalOffset
getClipToPlotArea, render, setClipToPlotArea
attach, detach, getCanApplyPalette, getChart, getCollectionIndex, getPalette, getZIndex, invalidatePalette, onPaletteInvalidated, onPaletteUpdated, requestLayout, requestRender, setZIndex, updatePalette
getPaletteFamily, getPaletteFamilyCore, isLoaded, isPaletteApplied, isVisible, measureContent, paletteFamily, postRender, refreshNode, setCanApplyPalette, setPaletteFamily, setVisible, setVisible
getValue, resetPropertyValue, setValue, setValue
public CartesianGridLineAnnotation(CartesianAxis axis, Object value)
CartesianGridLineAnnotation
using a specified
Context
, a CartesianAxis
on which the annotation will be placed, a value that
determines the position of the annotation, styleable attributes and a default style.axis
- the axis on which the annotation will be placed.value
- the value that determines the position of the annotation along the given axis.public Object getValue()
public void setValue(Object value)
value
- the new value.public ChartAnnotationModel getModel()
ChartAnnotation
ChartAnnotationModel
class representing the Chart engine model
associated with this annotation.getModel
in class ChartAnnotation
ChartAnnotationModel
instance.