SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.


I use the following template for tooltip.
but the XValue and YValue are not coming in tooltip. SeriesName is coming though.
please give me some pointers.

<DataTemplate x:Key="CompassTooltipTemplate" DataType="s:SeriesInfo">
            <Style TargetType="TextBlock">
                <Setter Property="Foreground" Value="LightGray" />
                <Setter Property="FontSize" Value="12" />
        <TextBlock Text="{Binding SeriesName}" />
        <StackPanel Orientation="Horizontal">               
            <TextBlock Text="{Binding YValue}" />
        <StackPanel Orientation="Horizontal">               
            <TextBlock Text="{Binding XValue}" />
  • You must to post comments
Best Answer

Hi Vibin,

Thanks for your question. The values don’t appear, because the properties are of the IComparable type. In XAML, to have a binding to a property of an interface type, you have to either specify StringFormat or to use ValueConverter.

SeriesInfo provides two additional properties FormattedXValue, FormattedYValue of type String. You could bind to these instead if you don’t want to modify the values.

Hope this helps!

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.