Tooltips no longer display

3 posts, 0 answers
  1. E Pons
    E Pons avatar
    16 posts
    Member since:
    Apr 2010

    Posted 24 Jan 2014 Link to this post

    Hello,



    We recently upgraded from Q3 2012 to Q3 2013.  The tooltips on our graphs no longer display. 



    Here's the XAML:

    <telerik:RadCartesianChart x:Name="CollectionChart" Margin="11,0" Grid.Column="1" HorizontalAlignment="Stretch">
      
    <telerik:RadCartesianChart.Behaviors>
        <telerik:ChartTooltipBehavior VerticalOffset="7"/>
    </telerik:RadCartesianChart.Behaviors>
      
    <telerik:RadCartesianChart.TooltipTemplate>
        <DataTemplate>
            <Grid IsHitTestVisible="False">
                <Border BorderBrush="DarkGray" BorderThickness="1" CornerRadius="1">
                    <StackPanel Background="WhiteSmoke" >
                        <TextBlock FontSize="11" Text="{Binding Category, StringFormat='\{0:MMMM yyyy\}'}" Padding="2,2,2,0" />
                        <TextBlock FontSize="11" Text="{Binding Value, StringFormat='\{0:C0\} Collection'}" Padding="2,0,2,2" />
                    </StackPanel>
                </Border>
            </Grid>
        </DataTemplate>
    </telerik:RadCartesianChart.TooltipTemplate>
      
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis LabelFormat="C0"/>
    </telerik:RadCartesianChart.VerticalAxis>
      
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:CategoricalAxis />
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:BarSeries x:Name="CollectionLastYearBarSeries" CombineMode="Cluster"
            CategoryBinding="MonthStringCategory" ValueBinding="Total" HorizontalContentAlignment="Left">
        <telerik:BarSeries.PointTemplate>
            <DataTemplate>
                <Border BorderBrush="#A8E083"
                BorderThickness="1" CornerRadius="1" MaxWidth="20" >
                    <Rectangle Fill="#A8E083" MaxWidth="20"/>
                </Border>
            </DataTemplate>
        </telerik:BarSeries.PointTemplate>
    </telerik:BarSeries>
      
    <telerik:BarSeries x:Name="CollectionThisYearBarSeries" CombineMode="Cluster"
        CategoryBinding="MonthStringCategory" ValueBinding="Total" HorizontalContentAlignment="Left">
        <telerik:BarSeries.PointTemplate>
            <DataTemplate>
                <Border BorderBrush="#468020"
                BorderThickness="1" CornerRadius="1" MaxWidth="20" >
                    <Rectangle Fill="#468020" MaxWidth="20"/>
                </Border>
            </DataTemplate>
        </telerik:BarSeries.PointTemplate>
    </telerik:BarSeries>
      
    </telerik:RadCartesianChart>


    Can you please let me know what has changed? 

    Thanks!

  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 28 Jan 2014 Link to this post

    Hello E Pons,

    I couldn't reproduce your issue with the 2013.3.1204 version of the controls. Can you please have a look at the attached project and let me know if I'm missing anything.

    Regards,
    Martin Ivanov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. E Pons
    E Pons avatar
    16 posts
    Member since:
    Apr 2010

    Posted 28 Jan 2014 in reply to Martin Link to this post

    Hi Martin,

    Thanks so much for looking into this issue!  We discovered that once we updated the theme file for the charts, the tooltips issue was fixed.  Odd, eh?

    Cheers,
    E
Back to Top