Chart Component select X-trace mode as defualy

Hi all,
Is there a way through scripting to select the X-trace mode of a chart on opening of a window? Thanks in advance!

In scripting, go to the configureChart extension function, and enter this code:

  • 0 : Zoom Mode. This is the default mode, where the user can draw a zoom rectangle with the mouse pointer.
  • 1 : Pan Mode. This mode lets the user use the mouse pointer to pan the chart to the left and right.
  • 3 : Mark mode. This mode lets the user click near a datapoint to annotate the point with its X and Y value.
  • 4 : X-Trace mode. This mode lets the user click and drag on the chart to see all values that fall along that X value.

Thanks Paul!
It worked as a dream!