SamiAbdallah Posted June 4, 2007 Report Share Posted June 4, 2007 Hi I have a chart which has x-axis labels as text not numbers (jan, feb, mar, etc..). I am trying to add customgridline on the x-axis based on the month of march, what is the code that would allow you to do so? also can I add a customgridline based on points, Please help. I am using chartfx 7 for .net (VS 2005.) Thanks Sami Quote Link to comment Share on other sites More sharing options...
JuanC Posted June 4, 2007 Report Share Posted June 4, 2007 In a categorical X axis, the custom gridlines value goes against the point index, e.g. chart1.AxisX.CustomGridLines.Add(new CustomGridLine(3, "Third"));Will create a custom gridline in the 3rd point in your chart, if the chart was created using months and starting in January then this gridline will coincide with March. JuanC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.