Is there a way to set the direction of the arrow? When I select the arrow style for a regular bar chart the arrows are always pointing up. Is there a property I can set to have it point either up or down?
Thanks,
Scott
Arrow style for bars
Hi Scott,
the only way around this is to use an Arrow Series type instead of Bar Series. Using this series type you can simulate as in the following code :
the only way around this is to use an Arrow Series type instead of Bar Series. Using this series type you can simulate as in the following code :
Code: Select all
Private Sub Form_Load()
With TChart1
.AddSeries scArrow
With .Series(0)
.XValues.DateTime = False
.asArrow.ArrowHeight = 10
.asArrow.ArrowWidth = 10
.asArrow.AddArrow 0, 0, 0, 10, "", clTeeColor
.asArrow.AddArrow 1, 0, 1, -5, "", clTeeColor
.asArrow.ArrowWidth = 15
End With
.Axis.Bottom.MinimumOffset = 10
.Axis.Bottom.MaximumOffset = 10
End With
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com