Jump to content
Software FX Community

Re: User defined text for Tool Tips?


User (Legacy)
 Share

Recommended Posts

Neil,

I put up custom tips using the ChartFX.hText property. This is the location

where the text that is going to be displayed is stored...

You just put what you want to be displayed here..

for example, if you have an array of strings containing these names that

matches point for point with the chart you would do the following

Private Sub m_Chart_GetTip(ByVal nHit As Integer, ByVal nSeries As Integer,

ByVal nPoint As Long, nRes As Integer)

m_Chart.HText = myArray(nPoint)

End Sub

Make sure you put in the ShowTips = TRUE so this event gets fired...

Cheers,

Abe Krebs

"Neil Hall" <ext-neil.hall@nokia.com> wrote in message

news:B##rfW3MAHA.2224@sfxserver.softwarefx.com...

> Hi

>

> I need to display "user defined" text in tool tips or similar which are

> related to the points on the chart so that when a user moves his mouse on

an

> XY chart each point will display this 'name' related to that point. The

> variables provided are no use to me as I wish to diplay text thats not

> actually included in the chart.

>

> I guess the ideal scenario would be to have a 'tag' type of arrangement

for

> each point in each series that could contain the text I wish to show, but

I

> can't find this type of function

>

> I must be missing something - can you help??

>

> Regards

>

> Neil

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...