This is a migrated thread and some comments may be shown as answers.
Showing the Tooltip on the chart, conditionally
0 Answers 34 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anthony
Top achievements
Rank 1
Anthony asked on 06 Feb 2012, 11:09 AM
Hello,

I have an MVC page on which there are 3links (corresponding to my db columns) and a telerik chart.

Link1
Link2
Link3

I am fetching all the columns (Link1, Link2 and Link3) from the DB and plotting them on chart. This works just fine.

Now the problem is that, based on Selected link clicked by user, I need to show only those points on the chart, that match the link I have clicked. I have achieved this by setting the Opacity property to 0 for all other points, except the ones I need to display.
i.e. I set the desired points opacity to 1 for Link1 and opacity=0 for Link2 and Link3, when Link1 is clicked.

However, when I set the tooltip property to On, the tooltip is visible on mouse over of all the values plotted on the chart (even though their opacity is set to 0 and those points are not visible on the chart). Is there any way to show the Tooltip only for those values, whose Opacity is 1 (visible)?

Thanks,
Anthony

Tags
Chart
Asked by
Anthony
Top achievements
Rank 1
Share this question
or