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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
grComparativeSeriesPosition (Function)
In french: grComparatifPositionSérie
Fixes the position (left or right) of a series in a comparative Histogram chart.
Example
grComparatifPositionSérie(GRF_SansNom1, 1, grADroite)
grComparatifPositionSérie(GRF_SansNom1, 2, grAGauche)
 
grCouleurSérie(GRF_SansNom1, 1, DonneCouleur())
grCouleurSérie(GRF_SansNom1, 2, DonneCouleur())
 
rDroite est un réel
rGauche est un réel
 
nRayon est un entier = 250
 
POUR n = 1 À 360
rDroite = nRayon + nRayon * Cosinus(n)
rGauche = nRayon + nRayon * Sinus(n + 180)
grAjouteDonnée(GRF_SansNom1, 1, n, rDroite)
grAjouteDonnée(GRF_SansNom1, 2, n, rGauche)
grEtiquetteCatégorie(GRF_SansNom1, n, n)
FIN
 
grDessine(GRF_SansNom1)
Syntax
grComparativeSeriesPosition(<Chart name> , <Series number> , <Position>)
<Chart name>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control found in the window editor.
<Series number>: entier
Number of the series to modify.
<Position>: entier
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: wd260grf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment