CrosshairHintBehavior Class
A hint behaves like a crosshair cursor.
Declaration
public class CrosshairHintBehavior
extends HintBehavior
Remarks
Inherited Members
Inheritance
CrosshairHintBehavior()
Initializes a new CrosshairHintBehavior class instance with default parameters.
Declaration
public CrosshairHintBehavior()
Methods
getGroupHeaderTextPattern() Method
Returns the group header’s text pattern.
Declaration
public String getGroupHeaderTextPattern()
Returns
Type | Description |
---|---|
String | The string that specifies a pattern for the group header’s text. |
getLabelPosition() Method
Returns the CrosshairLabelPositionBase descendant that defines the crosshair’s label position.
Declaration
public CrosshairLabelPositionBase getLabelPosition()
Returns
Type | Description |
---|---|
CrosshairLabelPositionBase | The CrosshairLabelPositionBase descendant that specifies the crosshair’s label position. |
getMaxSeriesCount() Method
Returns the maximum number of series that the crosshair can highlight.
Declaration
public int getMaxSeriesCount()
Returns
Type | Description |
---|---|
int | The series count. |
isArgumentLabelVisible() Method
Returns the value that indicates whether a crosshair cursor’s argument label is visible.
Declaration
public boolean isArgumentLabelVisible()
Returns
Type | Description |
---|---|
boolean | true if the argument label is displayed on an appropriate axis; otherwise false. |
isArgumentLineVisible() Method
Returns the value that indicates whether a crosshair cursor’s argument line is visible.
Declaration
public boolean isArgumentLineVisible()
Returns
Type | Description |
---|---|
boolean | true if the argument line is displayed; otherwise false. |
isGroupHeaderVisible() Method
Returns the value that indicates whether the crosshair cursor’s group header is visible.
Declaration
public boolean isGroupHeaderVisible()
Returns
Type | Description |
---|---|
boolean | true if the group header is visible; otherwise false. |
isHighlightPoint() Method
Returns the value that indicates whether the series point is highlighted when the crosshair cursor hovers over it.
Declaration
public boolean isHighlightPoint()
Returns
Type | Description |
---|---|
boolean | true if the point is highlighted; otherwise false. |
isValueLabelVisible() Method
Returns the value that indicates whether a crosshair cursor’s value label is visible.
Declaration
public boolean isValueLabelVisible()
Returns
Type | Description |
---|---|
boolean | true if the value label is displayed on an appropriate axis; otherwise false. |
isValueLineVisible() Method
Returns the value that indicates whether a crosshair cursor’s value line is visible.
Declaration
public boolean isValueLineVisible()
Returns
Type | Description |
---|---|
boolean | true if the value line is displayed; otherwise false. |
setArgumentLabelVisible(boolean) Method
Specifies the value that indicates whether a crosshair cursor’s argument label is visible.
Declaration
public void setArgumentLabelVisible(boolean visible)
Parameters
Name | Type | Description |
---|---|---|
visible | boolean | true if the argument label is displayed on an appropriate axis; otherwise false. |
setArgumentLineVisible(boolean) Method
Specifies the value that indicates whether a crosshair cursor’s argument line is visible.
Declaration
public void setArgumentLineVisible(boolean visible)
Parameters
Name | Type | Description |
---|---|---|
visible | boolean | true if the argument line is displayed; otherwise false. |
setGroupHeaderTextPattern(String) Method
Specifies the group header’s text pattern.
Declaration
public void setGroupHeaderTextPattern(String pattern)
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
pattern | String | The string that specifies a pattern for the group header’s text. The following placeholders can be used in the pattern:
|
setGroupHeaderVisible(boolean) Method
Specifies the value that indicates whether the crosshair cursor’s group header is visible.
Declaration
public void setGroupHeaderVisible(boolean visible)
Parameters
Name | Type | Description |
---|---|---|
visible | boolean | true if the group header is visible; otherwise false. |
setHighlightPoint(boolean) Method
Specifies the value that indicates whether the series point is highlighted when the crosshair cursor hovers over it.
Declaration
public void setHighlightPoint(boolean highlight)
Parameters
Name | Type | Description |
---|---|---|
highlight | boolean | true if the point is highlighted; otherwise false. |
setLabelPosition(CrosshairLabelPositionBase) Method
Specifies the CrosshairLabelPositionBase descendant that defines the crosshair’s label position.
Declaration
public void setLabelPosition(CrosshairLabelPositionBase mode)
Parameters
Name | Type | Description |
---|---|---|
mode | CrosshairLabelPositionBase | The CrosshairLabelPositionBase descendant that specifies the crosshair’s label position. |
setMaxSeriesCount(int) Method
Specifies the maximum number of series that can be highlighted by the crosshair.
Declaration
public void setMaxSeriesCount(int seriesCount)
Parameters
Name | Type | Description |
---|---|---|
seriesCount | int | The series count. |
setValueLabelVisible(boolean) Method
Specifies the value that indicates whether a crosshair cursor’s value label is visible.
Declaration
public void setValueLabelVisible(boolean visible)
Parameters
Name | Type | Description |
---|---|---|
visible | boolean | true if the value label is displayed on an appropriate axis; otherwise false. |
setValueLineVisible(boolean) Method
Specifies the value that indicates whether a crosshair cursor’s value line is visible.
Declaration
public void setValueLineVisible(boolean visible)
Parameters
Name | Type | Description |
---|---|---|
visible | boolean | true if the value line is displayed; otherwise false. |