Jump to content
Software FX Community

Problem with GetPointLabel event....


User (Legacy)

Recommended Posts

Posted

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.

Posted

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.

>

>

Posted

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.

> >

> >

>

>

Archived

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

×
×
  • Create New...