Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How not to show values on mouseover in BarChart (Read 4719 times)
PNJ
YaBB Newbies
*
Offline



Posts: 5
Location: Rotterdam
Joined: Mar 23rd, 2016
How not to show values on mouseover in BarChart
Mar 29th, 2016 at 4:18pm
Print Post  
Hi,
When I move the mouse over my BarChart, the value (x, y) show in a small white rectangle. How do I disable this feature?
IsHitTestVisible = false, does work but it also disables the possibility to click on the bar. I want the click feature. So no option for me.
Any suggestions?
  

Kinds regards,
Paul,
the Netherlands
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: How not to show values on mouseover in BarChart
Reply #1 - Mar 29th, 2016 at 4:44pm
Print Post  
Hi,

Set CrossHairType = CrossHairType.ShowCrosshair to only show the crosshairs without values, or ShowCrossHair = false to hide it completely.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
PNJ
YaBB Newbies
*
Offline



Posts: 5
Location: Rotterdam
Joined: Mar 23rd, 2016
Re: How not to show values on mouseover in BarChart
Reply #2 - Mar 30th, 2016 at 7:49am
Print Post  
Hi,

The settings you suggest are my current settings. So this is not the solution unfortunately. Do you have another idea?

Even worse: the application crashes when I set ShowCrossHair="True". Error: "Specified argument was out of the range of valid values.\r\nParameter name: index"
  

Kinds regards,
Paul,
the Netherlands
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: How not to show values on mouseover in BarChart
Reply #3 - Mar 30th, 2016 at 8:38am
Print Post  
Hi,

That might be a tooltip - try setting Series.ToolTipType = ToolTipType.Custom or Empty; If you set it to Custom, the control will display ToolTipText which is null by default.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
PNJ
YaBB Newbies
*
Offline



Posts: 5
Location: Rotterdam
Joined: Mar 23rd, 2016
Re: How not to show values on mouseover in BarChart
Reply #4 - Mar 30th, 2016 at 12:27pm
Print Post  
Thanks, that's it. Smiley
  

Kinds regards,
Paul,
the Netherlands
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: How not to show values on mouseover in BarChart
Reply #5 - Mar 31st, 2016 at 9:26am
Print Post  
Hi Paul,

Quote:
the application crashes when I set ShowCrossHair="True"

We could not reproduce that, any chance for you to send us your chart initialization code?

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint