AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de gráficos
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
Allows you to choose the type of context menu displayed by a chart.
Example
// Enables the context menu in window format for the CHART_MyChart control
CHART_MyChart.Menu(grMenuWindow)
Syntax
<Chart control>.Menu(<Type of menu>)
<Chart control>: Control name
Name of the Chart control to use (in the window editor).
<Type of menu>: Integer constant
Type of menu to display:
grMenuForCompatibilityA drop-down context menu is displayed. This option is used to display the menu of charts found in the versions earlier than version 23.
Remark: This constant corresponds to the True value used in the earlier versions.
grMenuNoneNo context menu is displayed.
Remark: This constant corresponds to the False value used in the earlier versions.
grMenuWindowA context menu in window format is displayed.
Remarks
  • To modify the text of options in the context menu kept for compatibility, use <Chart>.MenuOption.
  • The data defined by <Chart>.Menu will be taken into account during the next call to <Chart>.Draw.
Related Examples:
The Chart control (click management) Unit examples (WINDEV): The Chart control (click management)
[ + ] Customizing the click on a Pie chart.
Here, the section clicked by the user is pulled out by the application.
To implement this behavior, all you have to do is use grInfoXY (to identify the section clicked) and grPiePullOut (to pull out the section).
Component: wd290grf.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local