ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILEVersion: 15161718192021222324252627
 Home | Sign in | English
WINDEV
WEBDEV
WINDEV Mobile
Others
<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:
 grAtLeft Series displayed on the left of the chart. grAtRight Series displayed on the right of the chart.
Business / UI classification: Neutral code
Component: wd270grf.dll
Minimum version required
• Version 26
This page is also available for…
 Comments
 Click [Add] to post a comment
 Last update: 05/26/2022Send a report | Local help
 Registered trademarks. Copyright ©2009-2022 PC SOFT. All rights reservedThis website has been developed with WEBDEV and HFSQLWEBDEV, WINDEV Mobile and WINDEV programming