I am looking for a way to display the TeeChart bar graph in such a way that the bars start from 100 and draw up or down depending on the value. What I mean is if the value I am trying to display is 80, I need the bar to start from 100 and draw down to 80. If I want to display a value of 125, then the bar has to start at 100 and draw up to 125.
How can I do this? Please help?!
Bar-Graph Offset
Hi,
you can use the Origin property :
you can use the Origin property :
Code: Select all
Private Sub Form_Load()
With TChart1
.Aspect.View3D = False
.AddSeries scBar
.Series(0).asBar.Origin = 100
.Series(0).AddXY 0, 80, "", clTeeColor
.Series(0).AddXY 1, 125, "", clTeeColor
End With
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com