|
|
|
|
|
<Chart>.OverlayChart (Function) In french: <Graphe>.SuperposeGraphe Used to display two different types of charts in the same chart. The two charts are overlaid. Remark: 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
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 overlaid,
- False otherwise. To get more details on the error, 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 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.
- Caution: <Chart>.OverlayChart does not handle the crosshairs of the different overlaying charts.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|