I am trying to modify the 3D Charts > Tooltips and Hit Test 3D Charts > Series Tooltips 3D Chart example to change the colour of the tooltip crosshairs to red. By crosshairs I mean the green lines in the image attached.
I modified SeriesTooltips3DChart.xaml by adding:
<UserControl.Resources>
<Style x:Key="MyCrosshairOverlayStyle" TargetType="Line">
<Setter Property="Stroke" Value="Red" />
<Setter Property="StrokeThickness" Value="2" />
</Style>
<Style x:Key="MyCrosshairProjectionStyle" TargetType="t3D:CrosshairLines">
<Setter Property="CrosshairOverlayStyle" Value="{StaticResource MyCrosshairOverlayStyle}" />
<Setter Property="ProjectionMode" Value="Crosshair" />
</Style>
</UserControl.Resources>
and modifying the TooltipModifier3D element:
<t3D:TooltipModifier3D CrosshairMode="Lines" CrosshairPlanesFill="#33FF6600" CrosshairProjectionStyle="{StaticResource MyCrosshairProjectionStyle}" />
I expected this to apply the coloured lines but it did not. What have I misunderstood?
- Stephen Hewlett asked 5 years ago
-
Hi Stephen, this should work… but requires a little bit of investigation on our part. I will check it out and get back to you.
- You must login to post comments
Hi Stephen,
Thanks for your patience with this issue.
Applying crosshair style has been fixed in the latest nightly build (v5.5.0.12244 or higher)
To get this build please follow the steps from:
https://support.scichart.com/index.php?/Knowledgebase/Article/View/17232/37/getting-nightly-builds-with-nuget
Your code is correct and does not require any changes.
Please use it with the latest nightly build.
Best regards,
Dmytro
- Dmytro Herasymenko answered 5 years ago
-
Thanks, that works now.
- You must login to post comments
Hi Stephen,
I am sorry for the late reply.
I have logged this issue in our tracking system. It will be prioritized by the team and investigated based on its relevance.
With best regards,
Oleksandr
- Oleksandr Shvets answered 5 years ago
- You must login to post comments
Please login first to submit.