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
<Chart>.OverlayChart (Function)
In french: <Graphe>.SuperposeGraphe
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 (clustered 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 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
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
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 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 CHART_MyColumnChart.OverlayChart(CHART_MyLine) = True THEN
Info("The charts are overlaid")
END
CHART_MyColumnChart.Draw()
Syntax
<Result> = <Destination Spreadsheet control>.OverlayChart(<Source Chart control>)
<Result>: Boolean
  • True if the charts are superimposed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Destination Spreadsheet control>: Control name
Name of the Chart control that will display the two charts at the same time. This Chart control contains the first chart (Column, Stock or Scatter chart).
<Source Chart control>: Character string (with quotes)
Name of the Chart control that will be displayed in the destination chart. This chart must be a Line chart. It will overlay the <Destination Chart control>. 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 <Destination Chart control> (otherwise, the charts overwrite each other)
Remarks
  • The chart overlay defined by <Chart>.OverlayChart will be taken into account during the next call to <Chart>.Draw.
  • Versions 20 and later
    Caution: <Chart>.OverlayChart does not manage the crosshair of the different stacked charts.
    New in version 20
    Caution: <Chart>.OverlayChart does not manage the crosshair of the different stacked charts.
    Caution: <Chart>.OverlayChart does not manage the crosshair of the different stacked charts.
Component : wd240grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment