Back to Devexpress

Titles

wpf-117656-controls-and-libraries-charts-suite-chart3d-control-titles.md

latest1.3 KB
Original Source

Titles

  • Jun 07, 2019

Chart titles allow for the display of explanatory content within a chart. The Chart3D control supports any number and size of titles.

The following XAML demonstrates how to display titles as it is done in the image above.

xaml
<dxc:Chart3DControl>
    <dxc:Chart3DControl.Titles>
        <dxc:Title Dock="Top"
                   HorizontalAlignment="Center"
                   Content="Iris Data Set" />
        <dxc:Title Dock="Bottom"
                   HorizontalAlignment="Right"
                   FontSize="12"
                   Foreground="Silver"
                   Margin="0,0,5,3"
                   Content="From archive.ics.uci.edu" />
    </dxc:Chart3DControl.Titles>
    <!--Other settings.-->
</dxc:Chart3DControl>

The preceding markup contains the following types and members.

Class or PropertyDescription
ChartControlBase.TitlesDefines the Chart3D titles.
TitleAn individual Chart3D title.
Title.DockSpecifies the parent container’s edge to which the title is docked.