ToolTip for LineSeries don't show

3 posts, 1 answers
  1. Yang
    Yang avatar
    6 posts
    Member since:
    Mar 2015

    Posted 23 Mar 2015 Link to this post

       The SDK Tooltip example (Telerik xaml-sdk-master\ChartView\WPF\Tooltip) works fine. But if I change the series from bar to line,
    the tooltip will not show again.

    Only change one line:
       <telerik:BarSeries CategoryBinding="Quarter" ValueBinding="Profit" />
       <telerik:LineSeries CategoryBinding="Quarter" ValueBinding="Profit" />

    So, how can I show simple tooltip on LineSeries or ScatterLineSeries? 

  2. Answer
    Martin avatar
    1127 posts

    Posted 24 Mar 2015 Link to this post

    Hello Yang,

    The tooltip behavior of the RadChartView suite depends on the series default visual element which describes its data points. Since the LineSeries doesn't have a default visual presenter for its points a tooltip is not displayed. The first note (the blue paragraph) in the Tooltip help article describes this.

    In order to show a tooltip for the line series you can define a PointTemplate for the LineSeries. For example:
            <Ellipse Width="20" Height="20" Fill="Red" />

    I hope this information helps.


    See What's Next in App Development. Register for TelerikNEXT.

  3. Yang
    Yang avatar
    6 posts
    Member since:
    Mar 2015

    Posted 24 Mar 2015 in reply to Martin Link to this post

    Thank you, Martin:

        The tooltip showed after define PointTemplate. 

Back to Top