In version 3, I had
<ControlTemplate x:Key="RolloverLabelTemplate" TargetType="s:TemplatableControl">
<Border Background="#77FFFFFF"
BorderBrush="{Binding Stroke,
Converter={StaticResource ColorToBrushConverter}}"
BorderThickness="2"
CornerRadius="5">
<!--<StackPanel Margin="5">
<TextBlock FontSize="12"
FontWeight="Bold"
Foreground="{Binding Stroke,
Converter={StaticResource ColorToBrushConverter}}"
Text="{Binding SeriesName}" />
<TextBlock FontSize="11"
Foreground="{Binding Stroke,
Converter={StaticResource ColorToBrushConverter}}"
Text="{Binding Value}" />
</StackPanel>-->
</Border>
</ControlTemplate>
<s:ModifierGroup>
<s:RolloverModifier x:Name="rolloverModifier"
LineOverlayStyle="{StaticResource RolloverLineStyle}"
DrawVerticalLine="True"
SourceMode="AllSeries"
ShowTooltipOn="MouseLeftButtonDown"
TooltipTemplate="{StaticResource RolloverLabelTemplate}"
ShowAxisLabels="True" />
<s:SeriesSelectionModifier ReceiveHandledEvents="True" />
</s:ModifierGroup>
In Version 4, I get the error on the
TooltipTemplate="{StaticResource RolloverLabelTemplate}"
An object of the type "System.Windows.Controls.ControlTemplate" cannot be applied to a property that expects the type "System.Windows.DataTemplate".
Could I get some help on this please?
Thanks,
-Robert
- Robert Zeff asked 9 years ago
- You must login to post comments
Solved this.
The SciChart WPF v4 SDK Documentation.docx was helpful.
Thanks,
Robert
- Robert Zeff answered 9 years ago
- Hi Robert, we are glad the issue has been sorted out! Please feel free to ask if there are any more migration issues.
- You must login to post comments
I have the same issue… where do I find that document?
Lisbeth
- Lisbeth Skogland answered 9 years ago
- Hi Lisbeth, all Scichart documentation is now online at scichart.com/documentation/v4.x/webframe.html Specifically, TooltipModifier documentation is at https://www.scichart.com/documentation/v4.x/webframe.html#TooltipModifier.html
- You must login to post comments
Please login first to submit.