Page 1 of 1

Horizontal bar features

Posted: Fri Apr 23, 2010 1:57 pm
by 9644416
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!

Re: Horizontal bar features

Posted: Fri Apr 23, 2010 2:19 pm
by narcis
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;