|
|
|
|
grSunburstSectionColor (Función) Cambia la color de una sección en un gráfico Sunburst. // Adds the data grSunburstAddData(CHART_Chart, "Europe" + TAB + "France" + TAB + "Montpellier", 320000) grSunburstAddData(CHART_Chart, "Europe" + TAB + "France" + TAB + "Paris", 789000) grSunburstAddData(CHART_Chart, "Europe" + TAB + "France", 1109000) grSunburstAddData(CHART_Chart, "Europe" + TAB + "Belgium", 900000) grSunburstAddData(CHART_Chart, "Asia", 250000) // Customizes the colors of the chart grSunburstSectionColor(CHART_Chart, "Europe", RGB(106, 188, 227)) grSunburstSectionColor(CHART_Chart, "Asia", RGB(182, 115, 251)) grDraw(CHART_Chart)
Sintaxis
grSunburstSectionColor(<Chart name> , <Section path> , <Color>)
<Chart name>: Nombre del control o cadena de caracteres Nombre del gráfico a utilizar. Este nombre corresponde a:- el nombre del gráfico definido mediante programación con la función grCreate.
- el nombre del control Gráfico en el editor de ventanas o reportes.
<Section path>: Cadena de caracteres ruta completa de la sección que debe ser coloreada en la tabla. Este parámetro tiene la siguiente forma:
"<Name of base level>" + TAB + ["<Name of 1st level>" + TAB + ... ["<Name of last level>" + TAB + [...]]]"<Section name>" <Color>: Entero o constante de tipo Integer Color de la sección especificada. Este color puede corresponder a: Observaciones - Si una sección no tiene un color específico, se le asigna automáticamente un color. Esto te permite get un Gradient con las secciones de nivel superior si existen.
- El Color puede modificarse en cualquier momento antes de dibujar el gráfico.
Clasificación Lógica de negocio / UI: Código neutro
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|