ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
grRealTimeInterval (Function)
In french: grTempsRéelIntervalle
Sets the time interval visible in a time chart with real-time display.
Example: In this example, the time interval is 10 seconds.
Remark: This function only applies to charts with a time scale, for which data is added via grAddTimeData.
Example
FOR I = 1 TO 10
d is Duration
d.Minute = I
grAddTimeData(CHART_MyChart, 1, d, 2 + Sin(I*36))
END
 
d is Duration = 2min
grRealTimeInterval(CHART_MyChart, d)
grDraw(CHART_NoName1)
Syntax
grRealTimeInterval(<Chart control> , <Interval>)
<Chart control>: Control name
Name of the Chart control to be used.
<Interval>: Duration
Time interval visible in the chart (expressed in milliseconds). By default, this value is 60 seconds. If this parameter corresponds to 0, the default value is used.
Business / UI classification: Neutral code
Component: wd290grf.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help