ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
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
grComparativeSeriesPosition (Function)
In french: grComparatifPositionSérie
Fixes the position (left or right) of a series in a comparative Histogram chart.
Example
grComparativeSeriesPosition(CHART_NoName1, 1, grAtRight)
grComparativeSeriesPosition(CHART_NoName1, 2, grAtLeft)
 
grSeriesColor(CHART_NoName1, 1, GetColor())
grSeriesColor(CHART_NoName1, 2, GetColor())
 
rRight is real
rLeft is real
 
nRadius is int = 250
 
FOR n = 1 TO 360
rRight = nRadius + nRadius * Cos(n)
rLeft = nRadius + nRadius * Sin(n + 180)
grAddData(CHART_NoName1, 1, n, rRight)
grAddData(CHART_NoName1, 2, n, rLeft)
grCategoryLabel(CHART_NoName, 1, n, n)
END
 
grDraw(CHART_NoName1)
Syntax
grComparativeSeriesPosition(<Chart name> , <Series number> , <Position>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the chart name defined through programming with grCreate.
  • the name of the Chart control in the window editor.
<Series number>: Integer
Number of the series to modify.
<Position>: Integer
Position of the series handled in the chart:
grAtLeftSeries displayed on the left of the chart.
grAtRightSeries displayed on the right of the chart.
Business / UI classification: Neutral code
Component: wd290grf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help