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

Tooltips no longer display

2 Answers 18 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
E Pons
Top achievements
Rank 1
E Pons asked on 24 Jan 2014, 10:53 PM

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 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 28 Jan 2014, 02:46 PM
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 >>
0
E Pons
Top achievements
Rank 1
answered on 28 Jan 2014, 09:23 PM
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
Tags
ChartView
Asked by
E Pons
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
E Pons
Top achievements
Rank 1
Share this question
or