PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
grAutoRefreshCategoryLabel (Function)
In french: grMAJAutomatiqueEtiquetteCatégorie
Identifies or defines whether the category labels are refreshed whenever the chart is drawn. In this case, the content of the series is automatically recalculated whenever grDraw is called. The category labels are refreshed if necessary.
Use example: a series in a chart is used as reference series: this series is not automatically refreshed.
Versions 15 and later
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
New in version 15
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
Versions 16 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 16
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Versions 23 and later
PHP This function is now available for PHP sites.
New in version 23
PHP This function is now available for PHP sites.
PHP This function is now available for PHP sites.
Example
// Chart created by programming
IF grAutoRefreshCategoryLabel("MyChart") = True THEN
grDraw("MyChart")
END
// Chart control
IF grAutoRefreshCategoryLabel(CHART_MyChart) = True THEN
grDraw(CHART_MyChart)
END
Syntax

Identifying the mode used to refresh the category labels Hide the details

<Result> = grAutoRefreshCategoryLabel(<Chart name>)
<Result>: Boolean
Current mode for refreshing the category labels:
  • True if the labels are automatically refreshed,
  • False otherwise.
<Chart name>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control found in the window editor, page editor or report editor.
PHP Only the interactive Chart controls are available.

Defining the mode to refresh the category labels Hide the details

grAutoRefreshCategoryLabel(<Chart name> , <Automatic refresh>)
<Chart name>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control found in the window editor, page editor or report editor.
PHP Only the interactive Chart controls are available.
<Automatic refresh>: Boolean
  • True for an automatic refresh,
  • False otherwise.
Remarks
  • If the category labels are in automatic mode, the category labels will be automatically recalculated during the next call to grDraw.
  • If the category labels are not in automatic mode, the category labels will be recalculated during the next call to grSourceCategoryLabel.
Component : wd250grf.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment