User (Legacy) Posted February 2, 2004 Report Share Posted February 2, 2004 Hello all! I'm using ChartFX 5 inside Active Reports 2.0 with VB6. Trying to work with the GetAxisLabel event, but I can't get the event to fire. I think I've got everything set up right - the pertinent code is below. Any ideas? Thanks! Eric Law Public Sub SetData(oData As clsStockRRData) With ChartFX1 ' Properties .Gallery = LINES ' This is a LINE chart, unlike the others! .Chart3D = False ' And it's a 2-D chart .BorderStyle = BORDER_NONE ' No border .RGBBk = RGB(255, 255, 255) ' White background overall .RGB2DBk = RGB(192, 192, 192) ' Gray background in chart area .Palette = "Gray Scale" ' Black and white chart .AxesStyle = CAS_MATH ' Axes scaling style With .Axis(AXIS_X) .Font.Name = "Swis721 BT" ' X axis font .Font.Size = 7 ' X axis font size .Style = .Style Or AS_NOTIFY End With . . . End Sub Public Sub ChartFX1_GetAxisLabel(nAxis As Integer, nRes As Integer) Stop End Sub Link to comment Share on other sites More sharing options...
Software FX Posted February 3, 2004 Report Share Posted February 3, 2004 I think you need to contact the Active Reports people. VB Will attach to the event only if the chart object is in the form. Public Sub ChartFX1_GetAxisLabel(nAxis As Integer, nRes As Integer) Will attach to a ChartFX1 that on the form where this code is. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.