PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
<Chart>.AutoRefreshCategoryLabel (Function)
In french: <Graphe>.MAJAutomatiqueEtiquetteCaté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 <Chart>.Draw 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 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
Android This function is now available for Android applications.
New in version 19
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Chart control
IF CHART_MyChart.AutoRefreshCategoryLabel() = True THEN
CHART_MyChart.Draw()
END
Syntax

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

<Result> = <Chart control>.AutoRefreshCategoryLabel()
<Result>: Boolean
Current mode for refreshing the category labels:
  • True if the labels are automatically refreshed,
  • False otherwise.
<Chart control>: Control name
Name of the Chart control to use (found in the window editor, page editor or report editor).

Defining the mode to refresh the category labels Hide the details

<Chart control>.AutoRefreshCategoryLabel(<Automatic refresh>)
<Chart control>: Control name
Name of the Chart control to use (found in the window editor, page editor or report editor).
<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 <Chart>.Draw.
  • If the category labels are not in automatic mode, the category labels will be recalculated during the next call to <Chart>.SourceCategoryLabel.
Component : wd240grf.dll
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment