ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Enables or disables the display of color gradients in a chart.
Reminder: By default, the colors displayed in a chart are gradient colors.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
// Chart control
// Disables the color gradients
CHART_MyChart.Gradient(False)
Syntax
<Chart control>.Gradient(<Gradient>)
<Chart control>: Control name
Name of the Chart control used (found in the window editor, page editor or report editor).
<Gradient>: Boolean
  • True to display the chart by using the color gradients,
  • False otherwise.
Remarks
  • The charts display the color gradients by default. The color gradients can be displayed by all the types of charts.
  • The settings defined with <Chart>.Gradient will be taken into account next time <Chart>.Draw is called.
  • During the print, the gradient mode will not be taken into account for the Pie charts.
Component: wd290grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help