Hi,
In the tooltip of an XamDataChart it always shows a small icon of whether the chat is a line series or a bar series or a column series. How can i remove that and customize it how i wish to.
Thanks,
Nazha
See: https://ko.infragistics.com/community/forums/f/retired-products-and-controls/60977/tooltip-background/310047#310047
Thanks it worked. However i want to access the TextBlock and the Fill property of the Rectangle in my back code because the data is dynamic. How can i do that?
<Style x:Key="ToolTipStyle" TargetType="ContentControl">
<Setter x:Name="settertooltip" Property="Template">
<Setter.Value>
<ControlTemplate x:Name="controlt" TargetType="ContentControl">
<StackPanel x:Name="teststack" HorizontalAlignment="Left" Height="28" Margin="0" VerticalAlignment="Top" Width="23">
<Rectangle HorizontalAlignment="Left" Height="21" Width="23" Fill="#FF005E97" VerticalAlignment="Top"/>
<ed:RegularPolygon Fill="#FF005E97" InnerRadius="1" PointCount="3" Stretch="Fill" UseLayoutRounding="False" RenderTransformOrigin="0.51,0.54" Height="7" VerticalAlignment="Top" Margin="4,-1,4,0" Width="15">
<ed:RegularPolygon.RenderTransform>
<CompositeTransform Rotation="180"/>
</ed:RegularPolygon.RenderTransform>
</ed:RegularPolygon>
<TextBlock x:Name="testtext" Height="10" Width="23" Margin="0,-22,0,0" TextWrapping="Wrap" LineHeight="8" TextAlignment="Center" FontSize="8" FontFamily="Verdana" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White"/>
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>