ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
grSeriesType (Function)
In french: grTypeSérie
Defines the type of series used in a composite chart (chart containing several types of charts).
Example
grSeriesType(GRF_MonGraphe, 1, grLine)
grSeriesType(GRF_MonGraphe, 2, grScatter)
grSeriesType(GRF_MonGraphe, 3, grColumn)
Syntax
grSeriesType(<Chart name> , <Series number> , <Type> [, <Parameter>])
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the name of the chart defined programmatically with grCreate.
  • the name of Chart control (found in the window editor or in the report editor).
Android Only Chart controls are available.
<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
Android This constant is now available for Android applications.
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 grType function cancels all specific series types set by the grSeriesType FUNCTION function: all series will have the same type.
Business / UI classification: Neutral code
Component: wd300grf.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/27/2025

Send a report | Local help