ChartView Trackball

4 posts, 1 answers
  1. Obalesu
    Obalesu avatar
    4 posts
    Member since:
    Jul 2012

    Posted 16 Aug 2012 Link to this post

    Hi Support Team,

    I am showing two series data in chartview.I want to show trackball to only one series.
    How can i hide the trackball to other(second) series.

    Please find attached screenshot for your reference.



    Thanks&Regards
    Obalesu.N
  2. Answer
    Ves
    Admin
    Ves avatar
    2879 posts

    Posted 20 Aug 2012 Link to this post

    Hi Obalesu,

    All you need to do is populate the TrackBallInfoTemplate property of the second series with an empty instance of DataTemplate. This way the chart will not show any information about that series in the trackball info.


    Kind regards,
    Ves
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Frederik
    Frederik avatar
    1 posts
    Member since:
    Apr 2013

    Posted 11 Apr 2013 Link to this post

    This is not working for Windows Phone :-( the trackballinfo always comes up on longpress!!

    ... 
    <telerikChart:AreaSeries
        StrokeMode="Points"

        StrokeThickness="2"

        ValueBinding="<some name>"

        CategoryBinding="<some name>"

        ItemsSource="{Binding <some source>}"

        ToolTipService.Placement="Top">

        <telerikChart:AreaSeries.TrackBallInfoTemplate>

           <DataTemplate />

        </telerikChart:AreaSeries.TrackBallInfoTemplate>
    ...

  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 16 Apr 2013 Link to this post

    Hello Frederik,

    The TrackBallInfo comes up when you perform a hold gesture on the chart, but it doesn't contain information about the series, which have an empty DataTemplate set as TrackBallInfoTemplate. You can read more about this feature in RadChart for Windows Phone here.

    If you need additional assistance, don't hesitate to get back to us with your question.

    Greetings,
    Todor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top