New to Telerik UI for WPFStart a free 30-day trial

Customize RadChartView Trackball DisplayContent

Updated on Sep 15, 2025

Environment

Product Version2019.2.618
ProductRadChartView for WPF

Description

How to modify the display content of ChartTrackBallBehavior's TrackBallInfoControl in RadChartView.

Solution

Set the DataPointInfoTemplate property of TrackBallInfoControl. To do this, use the TrackBallInfoStyle property of RadCartesianChart.

XAML
	<telerik:RadCartesianChart.TrackBallInfoStyle>
		<Style TargetType="telerik:TrackBallInfoControl">
			<Setter Property="DataPointInfoTemplate">
				<Setter.Value>
					<DataTemplate>
						<TextBlock Text="{Binding DisplayContent}" Foreground="Green" FontStyle="Italic"/>
					</DataTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</telerik:RadCartesianChart.TrackBallInfoStyle>

WPF RadChartView Customize Trackball DisplayContent

In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support