Don't show marker on Line Chart data point hover

1 Answer 31 Views
Charts Styling
Ian
Top achievements
Rank 1
Ian asked on 16 Mar 2024, 09:08 AM

I have a chart with two line series, one showing current values, and the other as a reference line.

On the reference line I don't want any adornment or interaction, so I have made the markers invisible.

However, the data points still appear if you hover over where they would be.

Is there a property to prevent that?

At the moment I'm just setting their size to zero to make them as least noticeable as possible

1 Answer, 1 is accepted

Sort by
1
Accepted
Svetoslav Dimitrov
Telerik team
answered on 20 Mar 2024, 01:53 PM

Hello Ian,

For cases, where you need to show a threshold to the users we suggest using the Plot Bands feature. It does not provide any "interactive" elements such as markers. 

If plot bands do not fit your scenario, I can confirm that the approach you have taken is the best one possible.

Regards,
Svetoslav Dimitrov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Ian
Top achievements
Rank 1
commented on 22 Mar 2024, 07:24 PM

Thanks for the suggestion, but I'm already using plot bands for a different purpose on the chart, so they won't fit in this particular scenario.

I'll continue with my current solution

Tags
Charts Styling
Asked by
Ian
Top achievements
Rank 1
Answers by
Svetoslav Dimitrov
Telerik team
Share this question
or