PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
<Chart>.ComparativeSeriesPosition (Function)
In french: <Graphe>.ComparatifPositionSérie
Fixes the position (left or right) of a series in a comparative Histogram chart.
Example
CHART_NoName1.ComparativeSeriesPosition(1, grAtRight)
CHART_NoName1.ComparativeSeriesPosition(2, grAtLeft)
 
CHART_NoName1.SeriesColor(1, GetColor())
CHART_NoName1.SeriesColor(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)
CHART_NoName1.AddData(1, n, rRight)
CHART_NoName1.AddData(2, n, rLeft)
CHART_NoName1.CategoryLabel(n, n)
END
 
CHART_NoName1.Draw()
Syntax
<Chart control>.ComparativeSeriesPosition(<Series number> , <Position>)
<Chart control>: Control name
Name of the Chart control to use 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: wd280grf.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment