ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
Identifies or defines whether a series is refreshed whenever the chart is drawn. In this case, the content of the series is automatically recalculated whenever <Chart>.Draw is called.
Example of use A series in a graph is used as a reference series: this series is not updated automatically.
Linux Caution: In Linux, this function requires a specific configuration. For more details, see The charts.
Example
// Champ Graphe
IF GRF_MonGraphe.MAJAutomatiqueSérie(5) = True THEN
	GRF_MonGraphe.Dessine()
END
Syntax

Identifying the mode used to refresh the series Hide the details

<Result> = <Chart control>.AutoRefreshSeries(<Series number>)
<Result>: Boolean
Current mode for refreshing the series:
  • True if the series is automatically refreshed,
  • False otherwise.
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
PHP Only interactive Chart controls are available.
<Series number>: Integer
Number of the affected series.

Defining the mode used to refresh the series Hide the details

<Chart control>.AutoRefreshSeries(<Series number> , <Refresh mode>)
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
PHP Only interactive Chart controls are available.
<Series number>: Integer
Number of the affected series.
<Refresh mode>: Boolean
  • True if the series must be automatically refreshed,
  • False otherwise.
Remarks
The <Chart>.AutoRefreshSeries function is equivalent to the AutoRefresh property.
Component: wd300grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help