ChartDirector 7.1 (.NET Edition)

PyramidLayer.setRightLabel


Usage

[C#]public ChartDirector.TextBox setRightLabel([ string template [, string font [, double fontSize [, int fontColor ]]]]);
[VB]Public Function setRightLabel([ template As String [, font As String [, fontSize As Double [, fontColor As Integer ]]]]) As ChartDirector.TextBox

Description

Adds a label to the right of the pyramid layer.

To apply this method to all pyramid layers, use PyramidChart.setRightLabel.

See Parameter Substitution and Formatting on available format parameters for the template.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
template"{skip}"The label template. "{skip}" means to keep the existing value unchanged.
font"{skip}"The font style. "{skip}" means to keep the existing value unchanged.
fontSize-1The font size in points. -1 means to keep the existing value unchanged.
fontColor-1The font color. -1 means to keep the existing value unchanged.

Return Value

A TextBox object representing the prototype of the label. This may be used to fine-tune the appearance of the label.