GINO Graphics Suite - GINOGRAF v9.5  

ggBlockFillAreaChart

Syntax

[C/C++:]
void ggBlockFillAreaChart(int nareas, GAREACHART *areas, int xory, int line);
[F90:]
subroutine ggBlockFillAreaChart(nareas, areas, xory, line)

integer, intent(in) :: nareas, xory, line
type(GAREACHART), intent(in) :: areas(*)

Arguments

nareas
The number of areas to be plotted

areas
Array of structures giving data for the Area Chart

xory
Flag determining which axis the data ranges are shown on, and on which axis the heights are shown

= GXAXIS Data on X axis, heights on Y axis
= GYAXIS Data on Y axis, heights on X axis

line
Line style to be used to fill each column

= GCURRENT Specifies the current line style
= 1 -256 Specifies the line style index
>256 Specifies the current line style

Description

The routine ggBlockFillAreaChart() draws block filled rectangles defined by the data ranges held in the components areas.s and areas.f and height values held in the components areas.h1 and areas.h2, with respect to either the current axes, as set up by ggSetAxesPos() and ggSetAxesScaling(), or the default axes used by one of the high level routines. The widths of the areas, held in areas.s and areas.f, are shown on the X axis if xory=GXAXIS, and on the Y axis if xory=GYAXIS.

All the areas are solid filled in the line style specified by line whereas the colour, depth and angle of the extrusions are determined by the current block fill settings as set by ggSetBlockChartAttribs(). The outline of each area is drawn in the current GINO line style.

See Also

ggBlockFillAreaChart Usage
ggPlotAreaChart
ggSetBlockChartAttribs