Jump to content
Software FX Community

How to display tooltip on mouseover of Bar in Barchart


User (Legacy)

Recommended Posts

I have a bar chart.  When I mouse over the chart i want to display a custom 

tooltip message depending on which bar of the bar chart the mouse is over.

I have Chart1.ShowTips = true;

So how do I set it so a tooltip can popup when the user moves the mouse over

a specific point

I cannot do this:

Chart1.Point[0,i].Tooltip = "This is tip 1";

Thanks,

Pete

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:wYtiOxihFHA.1484@webserver3.softwarefx.com...

> Chart FX will display a tooltip automatically. I don't understand what you

> want to do.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Ok. What you want to do is customize the ToolTip content. For this you DO 

NOT need to capture the mouse hover, what you want to do is use the TipMask

property as follows:

chart.TipMask = "%L";

And then for each point set:

chart.Point[i,j].Tag = "Tool Tip for point i,j";

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Thats exactly what i was doing

Unfortunately it doesnt work

I cannot get any tooltips to show

I have ShowTips = true and

for(etc......)

{

chrt1.Point[0,i].Tag = "This is a test";

}

Unfortunately it doesnt work

Thanks

Pete

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:ySlxublhFHA.1476@webserver3.softwarefx.com...

> Ok. What you want to do is customize the ToolTip content. For this you DO

> NOT need to capture the mouse hover, what you want to do is use the

> TipMask property as follows:

>

> chart.TipMask = "%L";

>

> And then for each point set:

>

> chart.Point[i,j].Tag = "Tool Tip for point i,j";

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

I solved it thanks.

For those who wish to know I had to do the following:

chrt1.ImgMap = SoftwareFX.ChartFX.Internet.Server.ImgMap.TitleTip;

"Name" <papapet_2000@yahoo.com> wrote in message

news:06z42qlhFHA.1484@webserver3.softwarefx.com...

> Thats exactly what i was doing

>

> Unfortunately it doesnt work

>

> I cannot get any tooltips to show

> I have ShowTips = true and

> for(etc......)

>

> {

>

> chrt1.Point[0,i].Tag = "This is a test";

>

> }

>

> Unfortunately it doesnt work

>

> Thanks

> Pete

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:ySlxublhFHA.1476@webserver3.softwarefx.com...

>> Ok. What you want to do is customize the ToolTip content. For this you DO

>> NOT need to capture the mouse hover, what you want to do is use the

>> TipMask property as follows:

>>

>> chart.TipMask = "%L";

>>

>> And then for each point set:

>>

>> chart.Point[i,j].Tag = "Tool Tip for point i,j";

>>

>> --

>> Francisco Padron

>> www.chartfx.com

>>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...