PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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).
Versions 23 and later
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
New in version 23
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
Example
grSeriesType(CHART_MyChart, 1, grCurve)
grSeriesType(CHART_MyChart, 2, grScatter)
grSeriesType(CHART_MyChart, 3, grColumn)
Syntax
grSeriesType(<Chart Name> , <Series Number> , <Type> [, <Parameter>])
<Chart Name>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control (found in the window editor or in the report editor).
Android Only the 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.
grCandlestickCandlestick stock chart.
grCurveLine chart.
grCurveQuadraticRegressionLine chart in the following format: "ax2 + bx + c". The curvature is defined by performing a quadratic regression on the series specified in <Parameters>.
grLineConstantDisplays an horizontal line at the position specified in <Parameters>.
grLineMeanValueDisplays an horizontal line at the mean of series specified in <Parameters>.
grLineLinearRegressionDisplays a line whose inclination is calculated by performing a linear regression on the series specified in <Parameters>.
grBubbleChartBubble chart.
grColumnColumn chart.
grColumnStackedStacked Column chart.
grMinMaxStock chart displaying the difference between the minimum stock value and the maximum stock value.
grScatterScatter chart.
grWaterfallWaterfall chart.
<Parameter>: Integer constant
Parameter required for some types of charts. If <Type> corresponds to:
  • grCurveQuadraticRegression: <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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230grf.dll
Windows Mobile wp230grf.dll
Linux wd230grf.so
Android wd230android.jar
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment