ChartDirector 7.0 (Python Edition)

pychartdir.flatBorder


Usage

flatBorder(width)

Description

Specifies a flat border of a given width.

The flatBorder method returns an integer representing this effect. The integer can be used as the third argument to Box.setBackground to apply the effect to Box objects (including derived objects such as TextBox objects). It may also be used as the second argument to Layer.setBorderColor for BarLayer or BoxWhiskerLayer objects to apply the effect to bars or boxes.

Arguments

ArgumentDefaultDescription
width(Mandatory)The border width. A positive value means the border is drawn inside the box or bar. A negative value means the border is outside the box or bar.

Return Value

An integer representing using flat border of the specified width.