Axis Frames for Three-Dimensional Graphs

In PowerBuilder .NET, you can set the appearance of axis frames individually using solid colors, gradient colors, or images.

Properties

For each 3-D graph, there are three axis groups: Axis [Category], Axis [Series], and Axis [Values]. When the Shaded Back Edge property is set to True for an axis, you can set the color and gradient or picture for that axis.

Property for axis Value
axis.backedgecolor An integer specifying the color of the axis frame.

Painter: Axis group, Backedge Color

axis.backedgepicture.file A string indicating the path name for the picture file to be used for the axis frame. Supported formats are BMP, GIF, JPEG, RLE, and PNG.

Painter: Axis group, Backedge Picture

axis.backedgepicture.transparency An integer in the range 0 – 100, where 0 means that the background bitmap is opaque, and 100 that it is completely transparent.

Painter: Axis group, Backedge Transparency

axis.brushmode An integer that defines the type of brush used for the axis frame.
Values are:
  • 0 – Solid
  • 1 – HorizontalGradient
  • 2 – VerticalGradient
  • 3 – AngleGradient
  • 5 – RadialGradient
  • 6 – Picture

Painter: Axis group, Backedge Mode

axis.gradient.angle An integer indicating the angle in degrees (values are 0 – 360) used to offset the color and transparency gradient. This property is used only when the brushmode property takes a value of 3.

Painter: Axis group, Backedge Gradient, Angle

axis.gradient.color A long specifying the color (the red, green, and blue values) to be used as the axis frame's secondary color. The gradient defines transitions between the primary and secondary background colors.

Painter: Axis group, Backedge Gradient, Color

axis.gradient.focus An integer in the range 0 – 100, specifying the distance (as a percentage) from the center where the background color is at its maximum. (For example, if the radial gradient is used and the value is set to 0, the color is at the center of the background; if the value is 100, the color is at the edges of the background.)

Painter: Axis group, Backedge Gradient, Focus

axis.gradient.repetition.count An integer specifying the number of gradient transitions for background color and transparency. A value of 0 indicates 1 transition. A value of 3 indicates 4 transitions. This property is used only when the axis.gradient.repetition.mode property for the column or control takes the value of 0 (by count).

Painter: Axis group, Backedge Gradient, RepetitionCount

axis.gradient.repetition.length A long specifying the number of gradient transitions. This property is used only when the gradient.repetition.mode property for the column or control takes the value of 1 (by length). The units for the length that you assign for gradient transitions are set by the DataWindow object’s Units property.

Painter: Axis group, Backedge Gradient, RepetitionLength

axis.gradient.repetition.mode Specifies the mode for determining the number of gradient transitions for the axis frame's background color and transparency.
Permitted values are:
  • ByRepetitionCount[0] – axis.gradient.repetition.count determines the number of gradient transitions.
  • ByLength[1] – axis.gradient.repetition.length determines the number of gradient transitions.

Painter: Axis group, Backedge Gradient, Reptition Mode

axis.gradient.scale An integer in the range 0 – 100 specifying the rate of transition to the gradient color (as a percentage).

Painter: Axis group, Backedge Gradient, Scale

axis.gradient.spread An integer in the range 0 – 100 indicating the contribution of the second color to the blend (as a percentage).

Painter: Axis group, Backedge Gradient, Spread

axis.gradient.transparency An integer in the range 0 – 100, where 0 means that the axis frame's secondary (gradient) background is opaque and 100 that it is transparent. The gradient defines transitions between the primary and secondary transparency settings.

Painter: Axis group, Backedge Gradient, Transparency