XYSetBarAttribΒΆ

XYSetBarAttrib sets the attribute for 2D dataset bars.

bool = XYSetBarAttrib(hData, nAttrib)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

nAttrib

nAttrib is an OR combination of the following values:

Value

Meaning

BAR_VERT

Vertical Bars

BAR_WIDTH_PERCENT

Bar width in percent

BAR_BASE_AXIS

Bar origin is the mimimum axis value otherwise the origin is set to the drop value (see XYSetDropValue).

BAR_HATCH

Hatch fill

BAR_SOLIDCOLOR

Solid color fill

id-641749