Trackball hiding series

4 posts, 0 answers
  1. Mike
    Mike avatar
    2 posts
    Member since:
    Mar 2012

    Posted 08 Apr 2012 Link to this post

    On a lot of charts that I build, the default trackball bubble can end up obscuring a lot of the data at the top of the chart. Is there a way to move the trackball to the bottom of the chart or set it's opacity so that the series can partially bleed through?

    Thanks,
    Mike
  2. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 11 Apr 2012 Link to this post

    Hi Mike,

    You can hide the trackball control and display only the trackball line over your items. The information that goes into the trackball can be presented somewhere outside the control. Here is some code:

    <telerik:RadCartesianChart>
        <telerik:RadCartesianChart.Resources>
            <Style TargetType="telerik:TrackBallInfoControl">
                <Setter Property="Template" Value="{x:Null}" />
            </Style>
        </telerik:RadCartesianChart.Resources>
        <telerik:RadCartesianChart.Behaviors>
            <telerik:ChartTrackBallBehavior TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated" />
        </telerik:RadCartesianChart.Behaviors>
       ...

    Hope this helps! Greetings,
    Yavor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Remco
    Remco avatar
    13 posts
    Member since:
    Jan 2012

    Posted 18 Apr 2012 Link to this post

    I use the TrackInfoUpdated event to append the info to the items in my chart legend. It would be good if the TrackInfoUpdated event could also be raised when the track ball line is hidden when the user moves the mouse out of the chart indicating that the track ball line is now hidden so that I can hide the info from the chart legend. Currently the chart legend will continue to show the values from the last time the TrackInfoUpdated event was raised.

    cheers

    Remco
  5. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 23 Apr 2012 Link to this post

    Hello Remco,

    Indeed, this behavior seems strange. I have logged it in our bug tracking system here. You can expect a fix for the Q2 release.

    Greetings,
    Yavor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top