ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<Chart>.SeriesType (Function)
In french: <Graphe>.TypeSérie
Defines the type of series used in a composite chart (chart containing several types of charts).
Example
GRF_MonGraphe.TypeSérie(1, grLine)
GRF_MonGraphe.TypeSérie(2, grScatter)
GRF_MonGraphe.TypeSérie(3, grColumn)
Syntax
<Chart control>.SeriesType(<Series number> , <Type> [, <Parameter>])
<Chart control>: Control name
Name of Chart control to be manipulated (present in window or report editor).
<Series number>: Integer
Number of the series for which the type of chart will be modified.
<Type>: Integer constant
Type of chart that will be used to represent the data found in the series:
grAreaArea chart.
grBarChartsStock chart.
grBubbleChartBubble chart.
grCandlestickCandlestick stock chart.
grColumnColumn chart.
grColumnStackedStacked Column chart.
grLineLine chart.
grLineConstantDisplays a horizontal line at the position specified in <Parameter>.
grLineLinearRegressionDisplays a line whose inclination is calculated by performing a linear regression on the series specified in <Parameter>.
grLineMeanValueDisplays a horizontal line at the mean of series specified in <Parameter>.
grLineQuadraticRegressionLine chart in the following format: "ax2 + bx + c". The line is defined by performing a quadratic regression on the series specified in <Parameter>.
grMinMaxStock chart displaying the difference between the minimum and maximum values.
grPolarAreaPolar Area chart.
grRangeAreaRange Area chart.
grScatterScatter chart.
New in SaaS
Note: This constant is only available from WINDEV Suite SaaS 2025 Update 2.
grWaffleChartWaffle chart.
grWaterfallWaterfall chart.
<Parameter>: Integer constant
Parameter required for some types of charts. If <Type> corresponds to:
  • grQuadraticRegressionCurve: <Parameter> corresponds to the series number used to perform the quadratic regression.
  • grDroiteConstante: <Parameter> corresponds to the display position of the horizontal line.
  • grDroiteMoyenne: <Parameter> corresponds to the series number used to calculate the average.
  • grRightLinearRegression: <Parameter> corresponds to the series number used to perform the linear regression.
    Caution: Linear regression only works with a single series.
Remarks
The <Chart>.Type function cancels all specific series types set by the <Chart>.SeriesType FUNCTION function: all series will have the same type.
Component: wd300grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/25/2025

Send a report | Local help