Horizontal bar features

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
tenaris
Newbie
Newbie
Posts: 39
Joined: Fri Mar 02, 2007 12:00 am

Horizontal bar features

Post by tenaris » Fri Apr 23, 2010 1:57 pm

Hi all,
I'm new programming in .net and also using the TeeChart Control. I was wondering if you guys can send me a link
to find Tutorials or basic examples about the TeeChart control. Anything will work...
I'm making a Horizontal bar and I have a a lot of questions. Here are some:
1) What is the TeeChart Editor Window for? I made some changes in that window but apperently when I run my project
it doesn't show them. However, when I made chances from the code I can see these changes.
2) How can I set the grid to NOT Visible in the chart?
3) How can I set the 3D to Not Visible?
So far I have this code:

tChart1[0].Add(20, "Stop", Color.Green);
tChart1[0].Add(50, "Run", Color.Red);
tChart1[0].Add(10, "Stop", Color.Green);
tChart1[0].Add(80, "Run", Color.Red);
horizBar1.MultiBar = Steema.TeeChart.Styles.MultiBars.SelfStack;
horizBar1.BarHeightPercent = 500;
horizBar1.Marks.Visible = false;
tChart1.Walls.Visible = false;

I'm know that I'm wasting all the good features that this control has but this is the way it's supposed be done.

Thanks in advance!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Horizontal bar features

Post by Narcís » Fri Apr 23, 2010 2:19 pm

Hi tenaris,

You'll find the tutorials and features demo at TeeChart's program group created by the binary installer.
1) What is the TeeChart Editor Window for? I made some changes in that window but apperently when I run my project
it doesn't show them. However, when I made chances from the code I can see these changes.
It is for setting a chart at design-time or for end-users to be able to set chart properties using a graphical user interface.
2) How can I set the grid to NOT Visible in the chart?
You'll find information about this in tutorial 4 but basically you can do this:

Code: Select all

            tChart1.Axes.Left.Grid.Visible = false;
            tChart1.Axes.Bottom.Grid.Visible = false;
3) How can I set the 3D to Not Visible?

Code: Select all

            tChart1.Aspect.View3D = false;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply