PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WINDEV Mobile 25 feature!
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
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>: 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>: 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 / GUI classification : Neutral code
Component : wd250grf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment