Show TOC

Function documentationVertical Markers Context Menu Locate this document in the navigation structure

 

You can configure the following properties to enable secondary mouse button behaviors on your line charts.

Features

Add Vertical Markers

You can add vertical markers to the line chart in one of two ways:

  • From the chart menu, choose   Vertical Markers   Add Vertical Markers.  

  • Use the chart method ChartAreaDoubleClickEvent on your html/irpt page. To do so:

    1. Create a javascript method in the chart method ChartAreaDoubleClickEvent.

      Note Note

      For more information, see the example under Vertical Markers.

      End of the note.
    2. Double-click the chart component to obtain the X-coordinate.

    3. Call the addVerticalMarker(int) method to add a marker.

Note 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.

End of the note.

Delete Vertical Marker

You can delete vertical markers from a line chart in one of two ways:

  • From the chart menu, choose   Vertical Markers   Delete Vertical Marker.  

  • 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.