This question is locked. New answers and comments are not allowed.
Hello,
I have a tooltip defined on a RadCartesianChart (ChartView). When I hover over a data point in the chart, I need to a) show the tootip (done) and b) populate the tooltip - which is actually a RadGridView.
1) Is there an event I can intercept to detect when I am hovering over the data point, so that I can bind my grid? I need to know which data point I am hovering over. It is not practical to prebind the tooltip details for every data point (as shown below).
2) My grid is not resolving in the code-behind - what do I need to do to gain addressability to it?
Thank you
I have a tooltip defined on a RadCartesianChart (ChartView). When I hover over a data point in the chart, I need to a) show the tootip (done) and b) populate the tooltip - which is actually a RadGridView.
1) Is there an event I can intercept to detect when I am hovering over the data point, so that I can bind my grid? I need to know which data point I am hovering over. It is not practical to prebind the tooltip details for every data point (as shown below).
2) My grid is not resolving in the code-behind - what do I need to do to gain addressability to it?
Thank you
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartTooltipBehavior
Placement
=
"Top"
VerticalOffset
=
"0"
HorizontalOffset
=
"-10"
/>
</
telerik:RadCartesianChart.Behaviors
>
<
telerik:RadCartesianChart.TooltipTemplate
>
<
DataTemplate
>
<
Grid
>
<
StackPanel
Margin
=
"5,5,5,18"
>
<
telerik:RadGridView
Name
=
"DatabaseDetailRadGridView"
Height
=
"250"
AutoGenerateColumns
=
"False"
ItemsSource
=
"{Binding DataItem.Details}"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"Database"
IsGroupable
=
"False"
IsFilterable
=
"False"
IsResizable
=
"False"
IsReorderable
=
"False"
ShowFilterButton
=
"False"
ShowFieldFilters
=
"False"
ShowDistinctFilters
=
"False"
ShowColumnWhenGrouped
=
"False"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>