GetChartStartTime Method Example

The following example returns the chart's start time, which is displayed in a text object.

First, insert a object. Then, add an XYChart (XYChart1). Next, add a pushbutton and add the following script to its onclick event. In run mode, click on the pushbutton and the start date will be displayed in the text box.

Text1.Caption = XYChart1.GetChartStartTime