IMarks.Style
IMarks

property Style: EMarkStyle;

Type Library
TeeChartx

Description
Default Value: smsLabel

The Style property defines how Series Marks are constructed. Each different Style value makes Marks to output a different text. Several options are available.

The different Mark styles are:

smsValue

Shows the point value. It is usually the YValue, except HorizBarSeries that defaults to the XValue. The Series.ValueFormat property is used to format the resulting string.

Example: "1234"

smsPercent

Shows the percent the point value represents. The Series.PercentFormat property is used to format the percent value.

Example: "12 %"

smsLabel

Shows the associated Point Label.

Example: "Cars"

Warning:

If the point has no Label (empty label), then the point value is used.

smsLabelPercent

Shows the point Label and the percent value the point represents. The Series.PercentFormat property is used to format the percent value.

Example: "Cars 12 %"

smsLabelValue

Shows the point Label and the point value. The Series.ValueFormat property is used to format the resulting string.

Example: "Cars 1234"

smsLegend

Shows whatever is shown at Chart Legend. Please refer to Legend.TextStyle property for a list of possible values.

smsPercentTotal

Shows the percent the point represents toghether with the "of" word and the sum of all points absolute values. The Series.PercentFormat property is used to format the percent value.

Example: "12 % of 1234"

NOTE:

You can alter or localize to your language the "of" word by using the "PercentOf" typed constant in Teengine unit:

Example in Spanish: PercentOf := 'sobre';

Output: "12 % sobre 1234"

smsLabelPercentTotal

Shows the point Label toghether with the resulting "smsPercentTotal" style. The Series.PercentFormat property is used to format the percent value.

Example: "Cars 12 % of 1234"

smsXValue

Shows the point XValue (same as smsValue but with X values instead of Y values).

Example: "21/6/1996"