|
|
|
|
|
<Chart>.SeriesType (Function) In french: <Graphe>.TypeSérie Defines the type of series used in a composite chart (chart containing several types of charts). 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:
| | grArea | Area chart. | grBarCharts | Stock chart. | grBubbleChart | Bubble chart. | grCandlestick | Candlestick stock chart. | grColumn | Column chart. | grColumnStacked | Stacked Column chart. | grLine | Line chart. | grLineConstant | Displays a horizontal line at the position specified in <Parameter>. | grLineLinearRegression | Displays a line whose inclination is calculated by performing a linear regression on the series specified in <Parameter>. | grLineMeanValue | Displays a horizontal line at the mean of series specified in <Parameter>. | grLineQuadraticRegression | Line chart in the following format: "ax2 + bx + c". The line is defined by performing a quadratic regression on the series specified in <Parameter>. | grMinMax | Stock chart displaying the difference between the minimum and maximum values. | grPolarArea | Polar Area chart. | grRangeArea | Range Area chart. | grScatter | Scatter chart. New in SaaSNote: This constant is only available from WINDEV Suite SaaS 2025 Update 2. | grWaffleChart | Waffle chart. | grWaterfall | Waterfall 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|