Can you simulate my problem?
It is show wrong tooltip when I set "PolarAreaSeries.PointTemplate" and IsHitTestVisible="True".
Before this week, my Tooltip was hide becouse IsHitTestVisible property was set to False by default Telerik style them.
Now when I set IsHitTestVisible to True show unknow ToolTip. I do not what to see any RadToolTip from telerik.
I want to use standart tool tip. How to remove this tooltip (see attache file) and to show only tooltip in my example, here:
...
​
It is show wrong tooltip when I set "PolarAreaSeries.PointTemplate" and IsHitTestVisible="True".
Before this week, my Tooltip was hide becouse IsHitTestVisible property was set to False by default Telerik style them.
Now when I set IsHitTestVisible to True show unknow ToolTip. I do not what to see any RadToolTip from telerik.
I want to use standart tool tip. How to remove this tooltip (see attache file) and to show only tooltip in my example, here:
<
telerik:RadPolarChart
>
<
telerik:PolarAreaSeries
ItemsSource
=
"{Binding BABACollection}"
ValueBinding
=
"Baba1"
AngleBinding
=
"Baba2"
>
<
telerik:PolarAreaSeries.PointTemplate
>
<
DataTemplate
>
<!-- Too see my tooltip must set in Grid IsHitVisible to True, but if I set it will apear some unknow tooltip. How to hide it? -->
<
Grid
IsHitTestVisible
=
"True"
>
<
TextBlock
Text
=
"BR1"
/>
<!-- ONLY This tooltip what to see -->
<
ToolTipService.ToolTip
>
<
ToolTip
>
<
StackPanel
Orientation
=
"Vertical"
>
<
TextBlock
Text
=
"{Binding Converter={StaticResource LabelConverter} , ConverterParameter='Value' }"
Foreground
=
"{StaticResource MaxPointIndicatorBrush}"
/>
<
TextBlock
Text
=
"{Binding Converter={StaticResource LabelConverter} , ConverterParameter='Angle' }"
Foreground
=
"{StaticResource MaxPointIndicatorBrush}"
/>
</
StackPanel
>
</
ToolTip
>
</
ToolTipService.ToolTip
>
</
Grid
>
</
DataTemplate
>
</
telerik:PolarAreaSeries.PointTemplate
>
</
telerik:PolarAreaSeries
>
</
telerik:RadPolarChart
>
------------
public class LabelConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
if (parameter is string && parameter.ToString() == "Angle")
return String.Format("Angle:{0}", Math.Round((value as PolarDataPoint).Angle, 2) );
else if (parameter is string && parameter.ToString() == "Value")
return String.Format("Value:{0}", Math.Round((double)(value as PolarDataPoint).Value, 2));
return String.Format("Angle:{0}|Value:{1}", Math.Round((value as PolarDataPoint).Angle, 2), Math.Round((double)(value as PolarDataPoint).Value, 2));
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
----------
...
​