Jump to content
Software FX Community

Problem with GetPointLabel event....


User (Legacy)
 Share

Recommended Posts

Hi All,

I am using ChartFX IE 2000 Client in VB 6.0. I am not getting GetPointLabel

event for ChartFX even after setting PointLabels property TRUE.

Code looks like:

Private Sub ChartFX1_GetPointLabel(ByVal nSerie As Integer, ByVal nPoint As

Long, nRes As Integer)

MsgBox "In ChartFX1_GetPointLabel"

End Sub

Private Sub Form_Load()

ChartFX1.Series(0).PointLabels = True

End Sub

What may be the problem?

Piyush Gupta.

Link to comment
Share on other sites

To activate the GetPointLabels event as well as the GetAxisLabel event, you

need to turn on the AS_NOTIFY flag in the Y-Axis style as follows:

chart.Axis(AXIS_Y).Style = chart.Axis(AXIS_Y).Style or AS_NOTIFY

--

FP

Software FX Support

"Piyush Gupta" <pgupta@impetus.co.in> wrote in message

news:DShkJxpoCHA.2684@webserver1.softwarefx.com...

> Hi All,

>

> I am using ChartFX IE 2000 Client in VB 6.0. I am not getting

GetPointLabel

> event for ChartFX even after setting PointLabels property TRUE.

>

> Code looks like:

>

> Private Sub ChartFX1_GetPointLabel(ByVal nSerie As Integer, ByVal nPoint

As

> Long, nRes As Integer)

> MsgBox "In ChartFX1_GetPointLabel"

> End Sub

>

> Private Sub Form_Load()

> ChartFX1.Series(0).PointLabels = True

> End Sub

>

> What may be the problem?

>

> Piyush Gupta.

>

>

Link to comment
Share on other sites

Thanks for the quick and perfect reply. :-)

"Software FX Support" <support@softwarefx.com> wrote in message

news:EOGAs0poCHA.2940@webserver1.softwarefx.com...

> To activate the GetPointLabels event as well as the GetAxisLabel event,

you

> need to turn on the AS_NOTIFY flag in the Y-Axis style as follows:

>

> chart.Axis(AXIS_Y).Style = chart.Axis(AXIS_Y).Style or AS_NOTIFY

>

> --

> FP

> Software FX Support

> "Piyush Gupta" <pgupta@impetus.co.in> wrote in message

> news:DShkJxpoCHA.2684@webserver1.softwarefx.com...

> > Hi All,

> >

> > I am using ChartFX IE 2000 Client in VB 6.0. I am not getting

> GetPointLabel

> > event for ChartFX even after setting PointLabels property TRUE.

> >

> > Code looks like:

> >

> > Private Sub ChartFX1_GetPointLabel(ByVal nSerie As Integer, ByVal nPoint

> As

> > Long, nRes As Integer)

> > MsgBox "In ChartFX1_GetPointLabel"

> > End Sub

> >

> > Private Sub Form_Load()

> > ChartFX1.Series(0).PointLabels = True

> > End Sub

> >

> > What may be the problem?

> >

> > Piyush Gupta.

> >

> >

>

>

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...