depth axis as datetime in point3d series
depth axis as datetime in point3d series
Is there any way to havedepth axis for the point3d series show up as datetime?
Hi,
yes, in the latest version you must transform the ZValues to Date values and then show them as string, something like this works fine here :
In the next TeeChart Pro v7 there will be the positibily to do this directly like :
TChart1.Axis.Depth.Datetime = true
yes, in the latest version you must transform the ZValues to Date values and then show them as string, something like this works fine here :
Code: Select all
Private Sub Form_Load()
With TChart1
.AddSeries scSurface
.Series(0).asSurface.ZValues.DateTime = True
.Series(0).asSurface.AddXYZ 0, 10, CDate("10/01/2003"), "", clTeeColor
.Series(0).asSurface.AddXYZ 1, 14, CDate("11/01/2003"), "", clTeeColor
.Series(0).asSurface.AddXYZ 2, 16, CDate("12/01/2003"), "", clTeeColor
.Axis.Depth.Visible = True
End With
End Sub
Private Sub TChart1_OnGetAxisLabel(ByVal Axis As Long, ByVal SeriesIndex As
Long, ByVal ValueIndex As Long, LabelText As String)
Date = CDate(LabelText)
LabelText = Date
End Sub
TChart1.Axis.Depth.Datetime = true
Pep Jorge
http://support.steema.com
http://support.steema.com