Page 1 of 1

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

Posted: Thu Jan 22, 2004 6:01 pm
by 6925002
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

Posted: Thu Jan 22, 2004 9:11 pm
by Pep
If you refer to the Vertical Grid you can make it invisible using :

Code: Select all

tchart1.Axis.Bottom.GridPen.Visible = False

Grid Pen Not WOrking

Posted: Thu Jan 22, 2004 9:27 pm
by 6925002
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)

Download the graph first

Posted: Thu Jan 22, 2004 9:29 pm
by 6925002
Download the graph form graph link .I am not able to open the graph directly

Is there any feature in your site to upload files?

Posted: Thu Jan 22, 2004 9:33 pm
by 6925002
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.

Thanks i got the answer

Posted: Thu Jan 22, 2004 10:27 pm
by 6925002
From the gridpen , i got the idea of areapen and linepen.I set both to invisible.My PROBLEM is solved.Thanks