AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de gráficos
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
grSunburstPullOut (Function)
In french: grSMNPartExcentrée
Pulls out a section (or all the sections) in a Sunburst chart.
Note Each part of the graph can be eccentric independently of the others.
Example
// Ajout de données
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "France" + TAB + "Montpellier", 320000)
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "France" + TAB + "Paris", 789000)
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "France", 1109000) 
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "Belgique", 900000)
grSunburstAddData(GRF_Graphe, "Asie", 250000)
grDraw(GRF_Graphe)
// Décalage d'une part du graphe "GRF_Graphe" de 20 pixels
grSunburstPullOut(GRF_Graphe, "Europe" + TAB + "France" + TAB + "Montpellier", 20)
Syntax

Eccentricity on one side Hide the details

grSunburstPullOut(<Chart name> , <Section path> , <Offset>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the name of the chart defined programmatically with grCreate.
  • the name of the Chart control in the window, page or report editor.
WEBDEV - Server codePHP In pages, only "Interactive chart" controls are available for Sunburst charts.
<Section path>: Character string
Full path of section to pull out in the chart. This parameter has the following format:
"<Name of base level>" + TAB + ["<Name of 1st level>" + TAB + ...
["<Name of last level>" + TAB + [...]]]"<Section name>"
<Offset>: Integer
Offset of specified section (in pixels).

Eccentricity on all sides Hide the details

grSunburstPullOut(<Chart name> , <Offset>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the name of the chart defined programmatically with grCreate.
  • the name of the Chart control in the window, page or report editor.
WEBDEV - Server codePHP In pages, only "Interactive chart" controls are available for Sunburst charts.
<Offset>: Integer
Offset of different sections (in pixels).
Remarks
Any changes made with grSunburstPullOut will take effect the next time grDraw is called.
Business / UI classification: Neutral code
Component: wd300grf.dll
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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