PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
  • Changing the type of chart
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
Identifies or modifies the type of chart.
Versions 15 and later
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
New in version 15
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
Versions 16 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 16
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Versions 23 and later
PHP This function is now available for PHP sites.
New in version 23
PHP This function is now available for PHP sites.
PHP This function is now available for PHP sites.
Example
// Modify the type of Chart control CHART_MyChart
CHART_MyChart.Type(grPie)
Syntax

Finding out the type of chart Hide the details

<Result> = <Chart control>.Type()
<Result>: Constant
Indicates the type of chart:
gr3DSAreaStacked3D chart of stacked areas.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSAreaDepth3D chart of areas represented one behind the other.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSLine3D line chart.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSCylinderColStacked3D stacked bar chart.
The bars are represented by cylinders.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSCylinderColClustered3D clustered column chart.
The bars are represented by cylinders.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSCylinderColDepth3D column chart in depth: the series are represented in perspective.
The bars are represented by cylinders.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSColumnStacked3D stacked bar chart.
The bars are represented by 3D rectangles. This type of chart does not support the negative values.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSColumnClustered3D clustered column chart.
The bars are represented by 3D rectangles.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSColumnDepth3D column chart in depth: the series are represented in perspective.
The bars are represented by 3D rectangles.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSMinMax3D Stock chart displaying the difference between the minimum and maximum stock values
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSScatter3D Scatter chart.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSPie3D Pie chart.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
grAreaArea chart (see example of Area chart).
grBarChartsStock chart (see example of Stock chart).
grCandlestickCandlestick stock chart (see example of Stock chart).
grCurveLine chart (see example of Line chart)
grDonutDonut chart. See example of Donut chart.
Versions 17 and later
grFunnel
New in version 17
grFunnel
grFunnel
Funnel chart.
Versions 16 and later
grBubbleChart
New in version 16
grBubbleChart
grBubbleChart
Bubble chart (see example of Bubble chart).
Versions 21 and later
grHeatMap
New in version 21
grHeatMap
grHeatMap
Heatmap chart (see example of Heatmap chart).
WEBDEV - Server code This constant is not available.
grSemiCircularSemi-circular chart (see example of Semi-circular chart).
grColumnColumn chart (see example of Column chart)
grColumnStackedStacked Column chart. This type of chart does not support the negative values.
grMinMaxStock chart displaying the difference between the minimum stock value and the maximum stock value (see example of Stock chart).
grScatterScatter chart (see example of Scatter chart).
Versions 23 and later
grScatter3D
New in version 23
grScatter3D
grScatter3D
3D Scatter chart (see example of 3D Scatter chart).
PHP This constant is not available.
Versions 24 and later
grPyramid
New in version 24
grPyramid
grPyramid
Pyramid chart (see example of a Pyramid chart).
WEBDEV - Server codeLinuxPHP This constant is not available.
grRadarRadar chart (see example of Radar chart).
grPiePie chart (see example of Pie chart).
Versions 20 and later
grSunburst
New in version 20
grSunburst
grSunburst
Sunburst chart. See example of Sunburst chart.
WEBDEV - Server codePHP This constant is not available.
Versions 18 and later
grSurface
New in version 18
grSurface
grSurface
Surface chart (see example of Surface chart).
WEBDEV - Server codeLinuxPHP This constant is not available.
Versions 19 and later
grWaterfall
New in version 19
grWaterfall
grWaterfall
Waterfall chart (see example of Waterfall chart).
<Chart control>: Control name
Name of the Chart control to use (found in the window editor, page editor or report editor).
PHP Only the interactive Chart controls are available.

Modifying the type of chart Hide the details

<Chart name>.Type(<Type of chart>)
<Chart name>: Control name
Name of the Chart control to use (found in the window editor, page editor or report editor).
PHP Only the interactive Chart controls are available.
<Type of chart>: Constant
Specifies the new type of chart:
gr3DSAreaStacked3D chart of stacked areas.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSAreaDepth3D chart of areas represented one behind the other.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSLine3D line chart.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSCylinderColStacked3D stacked bar chart.
The bars are represented by cylinders.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSCylinderColClustered3D clustered column chart.
The bars are represented by cylinders.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSCylinderColDepth3D column chart in depth: the series are represented in perspective.
The bars are represented by cylinders.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSColumnStacked3D stacked bar chart.
The bars are represented by 3D rectangles. This type of chart does not support the negative values.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSColumnClustered3D clustered column chart.
The bars are represented by 3D rectangles.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSColumnDepth3D column chart in depth: the series are represented in perspective.
The bars are represented by 3D rectangles.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSMinMax3D Stock chart displaying the difference between the minimum and maximum stock values.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSScatter3D Scatter chart.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
gr3DSPie3D Pie chart.
WindowsLinux This constant is available in the WINDEV applications for Windows and Linux only.
grAreaArea chart (see example of Area chart).
grBarChartsStock chart (see example of Stock chart).
grCandlestickCandlestick stock chart (see example of Stock chart).
grCurveLine chart (see example of Line chart).
grDonutDonut chart. See example of Donut chart.
Versions 17 and later
grFunnel
New in version 17
grFunnel
grFunnel
Funnel chart.
Versions 16 and later
grBubbleChart
New in version 16
grBubbleChart
grBubbleChart
Bubble chart (see example of Bubble chart).
Versions 21 and later
grHeatMap
New in version 21
grHeatMap
grHeatMap
Heatmap chart.
WEBDEV - Server code This constant is not available.
grSemiCircularSemi-circular chart (see example of Semi-circular chart).
grColumnColumn chart (see example of Column chart).
grColumnStackedStacked Column chart. This type of chart does not support the negative values.
grMinMaxStock chart displaying the difference between the minimum stock value and the maximum stock value (see example of Stock chart).
grScatterScatter chart (see example of Scatter chart).
Versions 23 and later
grScatter3D
New in version 23
grScatter3D
grScatter3D
3D Scatter chart (see example of 3D Scatter chart).
PHP This constant is not available.
Versions 24 and later
grPyramid
New in version 24
grPyramid
grPyramid
Pyramid chart (see example of a Pyramid chart).
WEBDEV - Server codeLinuxPHP This constant is not available.
grRadarRadar chart (see example of Radar chart).
grPiePie chart (see example of Pie chart).
Versions 20 and later
grSunburst
New in version 20
grSunburst
grSunburst
Sunburst chart. See example of Sunburst chart.
WEBDEV - Server codePHP This constant is not available.
Versions 18 and later
grSurface
New in version 18
grSurface
grSurface
Surface chart (see example of Surface chart).
WEBDEV - Server codeLinuxPHP This constant is not available.
Versions 19 and later
grWaterfall
New in version 19
grWaterfall
grWaterfall
Waterfall chart (see example of Waterfall chart).

<Chart>.Type has no action on the chart if this parameter corresponds to the current type of chart.
Remarks

Changing the type of chart

  • When changing the type of chart, the parameters of former chart that cannot be reproduced in the new chart are reinitialized.
  • Changing the type of chart may produce unexpected effects. For example, when a Pie chart (grPie constant) is changed into a Scatter chart (grScatter constant), all the points are aligned on the X axis (horizontal axis).
  • The type of chart can be changed from the popup menu. However, the display options produce different visual effects for each type of chart.
  • The parameters defined by <Chart>.Type will be taken into account during the next call to <Chart>.Draw.
Related Examples:
The Chart functions Unit examples (WINDEV): The Chart functions
[ + ] Using the main chart designer features of WINDEV:
- Create a Pie, Column or Line chart
- Define the display area of a chart
- Define the chart options (legend, percentage, ...)
- Draw a line on a chart
Component : wd240grf.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment