How to display Bar chart with X-axis origin <> 0?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Jakob
Newbie
Newbie
Posts: 4
Joined: Fri Dec 05, 2003 5:00 am

How to display Bar chart with X-axis origin <> 0?

Post by Jakob » Wed Feb 18, 2004 2:12 pm

Hi, I want to display a barchart where all bars originate in
X = 1 and either go to the left (if value < 1) or to the right
(if value > 1). In addition I need the X-axis to be logarithmic
(I have found the setting for this)


Is this possible?

Best regards
/Jakob

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Feb 19, 2004 8:32 am

Hi Jakob,

I'm not sure what you refer. You can set the XPosition where you want to add the Bar using the Add method :
bar1.Add (XValue,YValue, Label);

About the logarightmic you can do :
tChart1.Axes.Bottom.Logarithmic = true;

Post Reply