You can configure the following properties to enable secondary mouse button behaviors on your line charts.
Add Vertical Markers
You can add vertical markers to the line chart in one of two ways:
From the chart menu, choose
Use the chart method ChartAreaDoubleClickEvent on your html/irpt page. To do so:
Create a javascript method in the chart method ChartAreaDoubleClickEvent.
Double-click the chart component to obtain the X-coordinate.
Call the addVerticalMarker(int) method to add a marker.
Note
You have to disable theEnableDoubleClickRefresh option before you can enable the double-click event option to create a marker in the chart area. To do so, uncheck Allow Double-Click Refresh on the Context Menu Behaviors property of a line chart.
Delete Vertical Marker
You can delete vertical markers from a line chart in one of two ways:
From the chart menu, choose
Drag the marker off the chart area to delete the marker.
Clear Vertical Markers
Allows you to erase all the vertical markers from the chart.
Realtime Updates
Updates the values as the marker is dragged along the chart.
If the Realtime Updates checkbox is deselected, the values are updated when you finish dragging the marker.
Intersection Tracking
Enables the data point boxes to be drawn at the intersection point on the vertical line.
Show Intersection Points
Draws a colored circle at the intersection point on the vertical line.