PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
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 PHP sites.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
New in version 23
PHP This function is now available for PHP sites.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
PHP This function is now available for PHP sites.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for 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).
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 <Parameter>.
grLineConstantDisplays a horizontal line at the position specified in <Parameter>.
grLineMeanValueDisplays a horizontal line at the mean of series specified in <Parameter>.
grLineLinearRegressionDisplays a line whose inclination is calculated by performing a linear regression on the series specified in <Parameter>.
grBubbleChartBubble chart.
grColumnColumn chart.
grColumnStackedStacked Column chart.
grMinMaxStock chart displaying the difference between the minimum and maximum values.
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.
Component : wd250grf.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment