Charts > Using the Charts Library > Decorations Display > Displaying a Cursor > Setting General Properties
 
Setting General Properties
The following table shows the properties defined for all the classes displaying cursors.
Property
Methods
Default Value
Visibility
isVisible
setVisible
IlvTrue
 
Drawing Order Relative to
the Drawing of the
Graphical Representations
of Data
getDrawOrder
setDrawOrder
IlvDrawAbove
 
Palette Used to
Draw the Cursor
getPalette
setPalette
0
 
Axis Mark Drawn
isDrawingAxisMark
drawAxisMark
IlvTrue
 
Delimiter Drawn
isDrawingDelimiter
drawDelimiter
IlvTrue
 
Delimiter Drawn in
XOR Mode
isDrawingGhost
drawGhost
IlvFalse
 
Data Value for which the
Cursor is Drawn
getValue
setValue
0
Label Displayed in the
Axis Mark
getLabel
setLabel
0
 
A cursor (like a grid or a scale) can be displayed on top of (IlvDrawAbove) or underneath (IlvDrawBelow) the graphical representations of data in a chart. By default, a cursor will be displayed on top of the graphical representations. However, the drawing order can be changed for a given cursor by means of the setDrawOrder method.
If no palette is defined to draw the cursor, the palette that will be used by default is the one defined for the axis of the scale with which the cursor is associated.
The axis mark displays the defined cursor label, if it exists. This label is returned by the getLabel method. However, the axis mark directly displays the data value for which the cursor is drawn. This data value is returned by the getValue method.
To speed up the drawing process when the cursor is used as a dynamic mark (for example, when using it in a crosshair), you can specify that the delimiter is to be drawn in XOR mode by using the drawGhost method.

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.