SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

1
0

Is it possible to draw RolloverMarker above RolloverModifier’s LineOverlay?

Picture below show how SchiChart is working now, and what I would like to see.

enter image description here

  • You must to post comments
0
0

Hi there,

Are you setting a custom Rollover Line style? If so you will need to set Canvas.ZIndex to make it appear below the markers.

Try this, it should work

<RolloverModifier ...>
    <RolloverModifier.LineOverlayStyle>
        <Style TargetType="Line">
            <Setter Property="Stroke" Value="Green" />
            <Setter Property="StrokeThickness" Value="3" />
            <!-- Should appear beneath the markers -->
            <Setter Property="Canvas.ZIndex" Value="-1" />
            <Setter Property="IsHitTestVisible" Value="False" />
        </Style>
    </RolloverModifier.LineOverlayStyle>
</RolloverModifier>

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.