Page 1 of 1

Inverted Bar Graph

Posted: Sat Jan 31, 2004 9:12 pm
by 9079769
:?: I am trying to display a graph of percentages in an inverted fashion. What I mean by that is that if I want to display 80%, I need to start the bar at 100% and go down 20 points to show 80%.

Please help!

Posted: Mon Feb 02, 2004 10:57 am
by Pep
Hi,

this can be done using :

Code: Select all

Private Sub Form_Load()
With TChart1
    .Aspect.View3D = False
    .AddSeries scBar
    .Series(0).AddXY 0, 50, "", clTeeColor
    .Series(0).AddXY 1, 80, "", clTeeColor
    .Series(0).AddXY 2, 60, "", clTeeColor
    .Series(0).asBar.Origin = 100
End With
End Sub

Thanks a bunch

Posted: Sat Feb 07, 2004 6:23 am
by 9079769
Thank you very much, works great!