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
grOverlayChart (Function)
In French: grSuperposeGraphe
Used to display two different types of charts in the same chart. The two charts are overlaid.
Note: The first chart must be a Column chart (grouped or stacked column chart), a Stock chart (MinMax or Candlestick) or a Scatter chart while the second chart must be a Line chart.
Versions 15 and later
WEBDEV - Server codeLinux This function is now available for the 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 the 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 the 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
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the 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 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
IF grOverlayChart("MyBarChart", "MyLine") = True THEN
        Info("The charts are overlaid")
END
grDraw("MyBarChart")
Syntax
<Result> = grOverlayChart(<Name of Destination Chart> , <Name of Source Chart>)
<Result>: Boolean
  • True if the charts are superimposed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Name of Destination Chart>: Character string (with or without quotes)
Name of the chart that will be used to display the two charts. This chart contains the first chart (Bar chart, Stock chart or Scatter chart).
<Name of Source Chart>: Character string (with quotes)
Name of the chart that will be displayed in the destination chart. This chart must be a Line chart. It will be superimposed over <Name of Destination Chart>. This chart will be taken into account as data source: its title and its parameters will be ignored. Only the information regarding the legend will be kept.
The link between the two charts is deleted if this parameter corresponds to an empty string ("").
This parameter must correspond to a chart different from <Name of Destination Chart> (otherwise, the charts overwrite each other).
Remarks
  • The chart overlay defined by grOverlayChart will be taken into account during the next call to grDraw.
  • Versions 20 and later
    Caution: grOverlayChart does not manage the crosshair of the different stacked charts.
    New in version 20
    Caution: grOverlayChart does not manage the crosshair of the different stacked charts.
    Caution: grOverlayChart does not manage the crosshair of the different stacked charts.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230grf.dll
Windows Mobile wp230grf.dll
Linux wd230grf.so
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment