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 color used for the altitude (Z axis) in a Surface chart.
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 can correspond to:
  • the chart name defined by programming with grCreate.
  • the name of 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 can correspond 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.
Component : wd250grf.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment