Title

<title visible="true|false">
    <style>
    <label>
    <layout>

The visible Boolean attribute defines whether the title should be displayed in the chart.

The following table shows the <title> children elements.

Child Element Description
<style> The style of a title defines the following properties:
  • <border>, which is the border thickness and color
  • <background>, which is the background color
  • <font>, which defines title 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.
<label> The title itself. Can be text or formula.
<layout> The title layout has the following attributes:
  • location (Top|Bottom|Left|Right)
  • orientation (Auto|VerticalLettering)
  • spacing, whose value range is [0, 8]
  • adjust (Boolean)
If adjust is true, then horizontal and vertical proportionalities can be defined. Their possible types are:
  • Auto. No value has to be set.
  • Fixed, which defines a value in unit
  • Proportional, which defines a ratio whose range is [0.0, 1.0] with a step of 0.01

Example

<title visible="true">
    <style>
        <border thickness="None">
            <color rgb="#000000" alpha="255"/>
        </border>
        <background>
            <color rgb="#000000" alpha="0"/>
        </background>
        <font size="9" face="Arial" italic="true" bold="true" strikethrough="false"
            underline="true|false" rgb="#000000"/>
        <alignment horizontal="Left" vertical="Center" textPolicy="Truncate"/>
    </style>
    <label dataType="String">="My Title"</label>
    <layout location="Top" orientation="Auto" spacing="2" adjust="true"/>
        <horizontalProportionality type="Fixed">3.25</horizontalProportionality>
        <verticalProportionality type="Proportional">0.33</verticalProportionality>
    </layout>
</title>