ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Chart properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The SecondaryAxis property is used to:
  • determine whether a chart series is on the secondary axis.
  • set the position of a chart series on the secondary axis.
Remark: This property is equivalent to grSeriesSecondaryAxis.
Example
// Colors series 2 in CHART_MyChart if it is placed on the secondary axis
IF CHART_MyChart[2].SecondaryAxis = True THEN
CHART_MyChart[2].SeriesColor = LightRed
END
Syntax

Determining if a series is on the secondary axis Hide the details

<Result> = <Series used>.SecondaryAxis
<Result>: Boolean
  • True if the series is placed on the secondary axis,
  • False otherwise.
<Series used>: Control name
Series to use. Use the following notation:
<Chart name>[<Series number>]

Changing the series position Hide the details

<Series used>.SecondaryAxis = <New position>
<Series used>: Control name
Series whose position is to be modified. Use the following notation:
<Chart name>[<Series number>]
<New position>: Boolean
  • True to set the series position on the secondary axis,
  • False otherwise.
Remarks
This property is only available for charts with axes. It cannot be used with Pie or Radar charts, for example.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/07/2022

Send a report | Local help