This is a migrated thread and some comments may be shown as answers.

ChartView Trackball

3 Answers 165 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Obalesu
Top achievements
Rank 1
Obalesu asked on 16 Aug 2012, 09:01 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 20 Aug 2012, 12:42 PM
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.

0
Frederik
Top achievements
Rank 1
answered on 11 Apr 2013, 09:20 AM
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>
...

0
Todor
Telerik team
answered on 16 Apr 2013, 09:37 AM
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.

Tags
ChartView
Asked by
Obalesu
Top achievements
Rank 1
Answers by
Ves
Telerik team
Frederik
Top achievements
Rank 1
Todor
Telerik team
Share this question
or