PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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 color used for the altitude (Z axis) in a Surface chart.
Versions 21 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 21
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
grSurfaceAltitudeColor(CHART_Surface, 100, LightRed)
grSurfaceAltitudeColor(CHART_Surface, 0, PastelBlue)
Syntax
grSurfaceAltitudeColor(<Chart Name> , <Altitude> , <Color>)
<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 the Chart control (found in the window editor or in the report editor).
<Altitude>: Real
Altitude for which the color will be applied.
<Color>: Integer or Integer constant
Color for the specified altitude. This color corresponds to:
Remarks
If altitude colors are specified, the facets found at this altitude will be colored accordingly.
For the facets found between two colors, a linear gradient will be applied.
For the facets outside color bounds, the color of the series will be applied.
Related Examples:
WD Chart Training (WINDEV): WD Chart
[ + ] This educational example present different uses of the chart control.
The following charts are presented:
- Semi-circular
- Donut
- Pie
- Sunburst
- Line
- Scatter
- 3D Scatter
- Column
- Area
- Bubble
- Radar
- Funnel
- Surface
- Waterfall
- Composite

The main features presented in this example are the ability to customize the charts by programming as well as the method used to fill a chart from a HFSQL file or in the editor.
Components
WINDEVReports and Queries wd230grf.dll
Linux wd230grf.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment