ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Note: This function only applies to graphs with a time scale, for which data is added using function grAddTimeData.
Example
FOR i = 1 TO 10
	d is Duration
	d.Minute = i
	grAddTimeData(GRF_MonGraphe, 1, d, 2 + Sin(i*36))
END

d is Duration = 2 min
grRealTimeInterval(GRF_MonGraphe, d)
grDraw(GRF_SansNom1)
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: wd300grf.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help