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

0
0

Hi,

I’m trying to update a chart from version 3.1.x of a chart. In the old chart there was a XyScatterRenderableSeries with markers width set to 8. The Rollover line had the same width as the marker and it was easy to hit a point. After update the rollover line is thin and it is hard to hit a point. Please advise if it is possible to get back the old behavior.

Version
4.2.2.9744
  • You must to post comments
0
0

Hi Andreas,

Thanks for asking a question. There is a property for changing style of Rollover’s line called LineOverlayStyle. You will need to create a style with TargetType=”Line” and set Width to any value you wish.

The relevant documentation article can be found here.

Hope this helps!

UPDATE: You should set the StrokeThickness property actually, not Width.

  • You must to post comments
0
0

Hi Yuriy,

I’m sorry but it does not work for me. As soon as I set the width property in the style, no line is shown at all. When I set the Stroke and StrokeThickness Property the line is width is good, but it is still hard to hit the point and I do not know, which Color should be used to have the same color as default. Please advise.

  • You must to post comments
0
0

Hi Andreas,

Yes, you are right. I meant the StrokeThickness property, not Width. Updated my previous post.

Concerning the default color, you can bind to it using our ThemeBinding extension:

<Setter Property="Stroke" Value="{s:ThemeBinding RolloverLineStroke}" />

As to the issue with hitting a point, I’m not sure I understand what you mean. Please attach a video or a sample where we can see the changed behavior vs old one.

Best regards,
Yuriy

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.