PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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(GRF_SansNom1, 1, grAtRight)
grComparativeSeriesPosition(GRF_SansNom1, 2, grAtLeft)
 
grSeriesColor(GRF_SansNom1, 1, GetColor())
grSeriesColor(GRF_SansNom1, 2, GetColor())
 
rDroite is real
rGauche is real
 
nRayon is int = 250
 
FOR n = 1 TO 360
rDroite = nRayon + nRayon * Cos(n)
rGauche = nRayon + nRayon * Sin(n + 180)
grAddData(GRF_SansNom1, 1, n, rDroite)
grAddData(GRF_SansNom1, 2, n, rGauche)
grCategoryLabel(GRF_SansNom1, n, n)
END
 
grDraw(GRF_SansNom1)
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 Chart control found in the window editor.
<Series number>: Integer
Number of the series to modify.
<Position>: Integer
Position of the series handled in the chart:
grAtRightSeries displayed on the right of chart.
grAtLeftSeries displayed on the left of chart.
Business / UI classification: Neutral code
Component: wd270grf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment