User (Legacy) Posted December 13, 2002 Report Share Posted December 13, 2002 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. Quote Link to comment Share on other sites More sharing options...
Software FX Posted December 13, 2002 Report Share Posted December 13, 2002 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. > > Quote Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 13, 2002 Author Report Share Posted December 13, 2002 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. > > > > > > Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.