User (Legacy) Posted October 8, 2001 Report Share Posted October 8, 2001 I am trying to create two-line labels for a data/time combination. I approach this by providing a routine for the GetAxisLabel Event and putting the string together with a vbCrLf, as follows: Private Sub ChartFX_GetAxisLabel(index As Integer, ByVal nAxis As Integer, nRes As Integer) If nAxis = AXIS_X Then Dim x() As String x = Split(ChartFX(index).HText, ";") ChartFX(index).HText = x(1) + vbCrLf + x(0) nRes = 1 End If I create a starting string by specifying the axis format property as "Xd MMM yy;HH:mm tt" The result is not what I am looking for, some null characters show up in the text, which is still a single line. I would like to get something like 11:33 PM 2 Oct 01 possibly centered below the tick mark. Any chances? Henk Borsje firstname.lastname@example.org Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.