@DT_CENTERED (Data Text special formatting in Stacked Charts)

In stacked charts where data text is not legible because the value of a riser is too small, this macro can be used to disable the data text or draw it above the stack.

SYNTAX:

@DT_CENTERED bCenterText nOverFlowPercentage nExtraKerning nStackMarkerSize

PARAMETERS:

bCenterText; 0/1
0 = Do not center text
1 = Center Text

nOverFlowPercentage; -100...100
< 0 makes data text stay on top of risers in more situations
> 0 make data text more likely to stack above riser

nExtraKerning; -1000..1000 Add or subtract extra vertical space between stacked labels drawing above stack.
> 0 add more space.
< 0 reduce space

nStackMarkerSize; -1...1000
-1 = Labels will be color coded to marker color and draw above the stack
0 = Labels will not draw (labels do not fit and are not wanted)
1...1000 = Labels draw in standard global datatext color. An additional rectangular marker of virtual size nStackMarkerSize is drawn to left of the datatext label.

EXAMPLE: @DT_CENTERED.RPT

@DT_CENTERED 1 -20 0 400

PERSISTENT:

YES

REQUIREMENTS:

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List