<style> |
The style of a label defines the following properties:- <border>, which is the border
thickness and color
- <background>, which is the background
color
- <font>, which defines the label font
properties (size, face, italic, bold, strikethrough,
underline, and RGB color)
- <alignment>, which defines the text
alignment (horizontal, vertical, and text policy). The text
policy can be Wrap, NoWrap
or Truncate.
|
<layout> |
Attributes:- autoHiding, which defines whether labels
are hidden automatically when there is not enough space
- resolveOverlapping, which defines whether
the overlapped labels are resolved
- position
(InsideFirstOutsideOtherwise|OutsideFirstInsideOtherwise|Inside|Outside)
- orientation
(Horizontal|Vertical)
- spacing, which defines the margin and whose
value range is [0, 8]
- mode, which defines the display mode for
Pie charts only (Side|Circular)
- singleLine, which defines whether the data
label is on one single line (for
LabelAndValue or
LabelAndPercent type only)
- percentMinValue, which defines the minimum
percent value to display for Pie charts only. Value range is
[0.0, 100.0] with a step of 0.01.
Layout also shows the <separator> child
element to define the starting and ending symbols to use in data
labels in the case of a Pie chart. The string maximum length for a
value is 256. |
<format> |
The expression to use to format and display tick values. Note For
Percent or LabelAndPercent
type only.
|