How Do I Disable the vertical line for the Label from X axis

TeeChart for ActiveX, COM and ASP
Post Reply
Teechart Activex Question
Newbie
Newbie
Posts: 19
Joined: Fri Nov 15, 2002 12:00 am
Contact:

How Do I Disable the vertical line for the Label from X axis

Post by Teechart Activex Question » Thu Jan 22, 2004 6:01 pm

I have some dates (as the labels) on the x axis of my graph .Each date in the X axis has a long vertical line.How do i disable or make that vertical line not visble?

I am using line graph

chart.series scline
chart.series(0).add 1,date,color

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

Post by Pep » Thu Jan 22, 2004 9:11 pm

If you refer to the Vertical Grid you can make it invisible using :

Code: Select all

tchart1.Axis.Bottom.GridPen.Visible = False

Teechart Activex Question
Newbie
Newbie
Posts: 19
Joined: Fri Nov 15, 2002 12:00 am
Contact:

Grid Pen Not WOrking

Post by Teechart Activex Question » Thu Jan 22, 2004 9:27 pm

Gridpen is not working
Here is my graph
http://appihippi.tripod.com/graph.jpg

I have a line graph over the area graph. I am not able to delete the black color for the date 1/14/2003
My Sample code to draw area and line are


Chart.AddSeries scArea
Chart.Series(0).Color = VbColor(14)
Chart.Series(0).Title = "Project On Scehdule"
Chart.Series(0).asArea.UseYOrigin = True
Chart.Series(0).asArea.YOrigin = Spimax

Chart.AddSeries scLine
Chart.Series(3).Color = VbColor(15)
Chart.Series(3).Title = "Schedule Performance Index"
Chart.Series(3).Add CDec(GraphArray(0, i)), CDate(GraphArray(1, i)), VbColor(15)

Teechart Activex Question
Newbie
Newbie
Posts: 19
Joined: Fri Nov 15, 2002 12:00 am
Contact:

Download the graph first

Post by Teechart Activex Question » Thu Jan 22, 2004 9:29 pm

Download the graph form graph link .I am not able to open the graph directly

Teechart Activex Question
Newbie
Newbie
Posts: 19
Joined: Fri Nov 15, 2002 12:00 am
Contact:

Is there any feature in your site to upload files?

Post by Teechart Activex Question » Thu Jan 22, 2004 9:33 pm

I couldnt find any option to upload the file from your site.Thats why i uploaded the graph to a personal page.If you have trouble viewing the picture,please give me your email address,i can send the file from my work.

Teechart Activex Question
Newbie
Newbie
Posts: 19
Joined: Fri Nov 15, 2002 12:00 am
Contact:

Thanks i got the answer

Post by Teechart Activex Question » Thu Jan 22, 2004 10:27 pm

From the gridpen , i got the idea of areapen and linepen.I set both to invisible.My PROBLEM is solved.Thanks

Post Reply