ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
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
Defines the type of series used in a composite chart (chart containing several types of charts).
Example
grSeriesType(CHART_MyChart, 1, grLine)
grSeriesType(CHART_MyChart, 2, grScatter)
grSeriesType(CHART_MyChart, 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 chart name defined through programming with grCreate.
  • the name of Chart control (found in the window editor or in the report editor).
Android Only Chart controls are available.
PHP Only the interactive 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 version 2024
grWaffleChart
Waffle chart.
grWaterfallWaterfall chart.
<Parameter>: Integer constant
Parameter required for some types of charts. If <Type> corresponds to:
  • grLineQuadraticRegression: <Parameter> corresponds to the number of the series used to perform the quadratic regression.
  • grLineConstant: <Parameter> corresponds to the display position of horizontal line.
  • grLineMeanValue: <Parameter> corresponds to the number of the series used to calculate the mean.
  • grLineLinearRegression: <Parameter> corresponds to the number of the series used to perform the linear regression.
    Caution: The linear regression operates with a single series.
Remarks
grType cancels all the specific types of series specified by grSeriesType: all the series will have the same type.
Business / UI classification: Neutral code
Component: wd290grf.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/20/2023

Send a report | Local help