ChartDirector 6.0 (C++ Edition)

Chart.ArrowShape


Usage

int ArrowShape(double angle = 0, double widthRatio = 1, double stemWidthRatio = 0.5, double stemLengthRatio = 0.5);

Description

Gets the shape id that represents an arrow shape.

Please refer to Shape Specification for samples and more information on using shapes in ChartDirector.

Arguments

ArgumentDefaultDescription
angle0The clockwise angle of the arrow relative to the upward pointing position.
widthRatio1The width of the base of the arrow head as a ratio to the height of the entire arrow. Must be between 0 and 1.
stemWidthRatio0.5The width of the arrow stem as a ratio to the width of the base of the arrow head. Must be between 0 and 1.
stemLengthRatio0.5The length of the arrow stem as a ratio to the height of the entire arrow. Must be between 0 and 1.

Return Value

An integer shape id representing the arrow shape.