This is a migrated thread and some comments may be shown as answers.
Vertical major grid lines display
2 Answers 62 Views
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 24 May 2011, 09:20 PM
Hello,

I am using radchart with Skin = "Vista"

This skin shows only horizontal major grid lines. But I also widh to display vertical major grid lines with this skin. How to explicitly display the vertical major grid lines ?

2 Answers, 1 is accepted

Sort by
0
Gimmik
Top achievements
Rank 1
answered on 24 May 2011, 10:40 PM
Hi Prayag,

This article will show you how to display major gridlines on the X-Axis for a RadChart.
http://www.telerik.com/help/aspnet-ajax/radchart-gridlines.html

Hope this helps,
-Gimmik
0
prayag ganoje
Top achievements
Rank 1
answered on 24 May 2011, 11:13 PM
Thanks Gimmik for the quick response.

I have already adde your suggested code but it did not help.

rc_CSMD_Average_Response_Time.PlotArea.XAxis.Appearance.MajorGridLines.Visible = True
            rc_CSMD_Average_Response_Time.PlotArea.XAxis.Appearance.MajorGridLines.PenStyle = Drawing2D.DashStyle.Dash
            rc_CSMD_Average_Response_Time.PlotArea.XAxis.Appearance.MajorGridLines.Color = Color.DarkGray
            rc_CSMD_Average_Response_Time.PlotArea.YAxis.Appearance.MajorGridLines.Visible = True
            rc_CSMD_Average_Response_Time.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle = Drawing2D.DashStyle.Dash
            rc_CSMD_Average_Response_Time.PlotArea.YAxis.Appearance.MajorGridLines.Color = Color.DarkGray
            rc_CSMD_Average_Response_Time.PlotArea.Appearance.Border.Visible = False
            rc_CSMD_Average_Response_Time.Appearance.Border.Visible = False
            rc_CSMD_Average_Response_Time.Height = System.Web.UI.WebControls.Unit.Pixel(255)
            rc_CSMD_Average_Response_Time.Width = System.Web.UI.WebControls.Unit.Pixel(255)
            rc_CSMD_Average_Response_Time.Appearance.Border.Color = System.Drawing.ColorTranslator.FromHtml("#4C4C4C")
            rc_CSMD_Average_Response_Time.SeriesOrientation = ChartSeriesOrientation.Vertical
            rc_CSMD_Average_Response_Time.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.ColorTranslator.FromHtml("#4C4C4C")
            rc_CSMD_Average_Response_Time.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.ColorTranslator.FromHtml("#4C4C4C")
rc_CSMD_Average_Response_Time.PlotArea.YAxis.AxisLabel.Visible = True
            rc_CSMD_Average_Response_Time.AutoLayout = True
            rc_CSMD_Average_Response_Time.IntelligentLabelsEnabled = True
            rc_CSMD_Average_Response_Time.ChartTitle.Visible = False
            rc_CSMD_Average_Response_Time.Legend.Visible = False
            rc_CSMD_Average_Response_Time.PlotArea.XAxis.AutoScale = False
            rc_CSMD_Average_Response_Time.Skin = "Vista"
            rc_CSMD_Average_Response_Time.PlotArea.Appearance.FillStyle.MainColor = Color.White
            rc_CSMD_Average_Response_Time.PlotArea.Appearance.FillStyle.SecondColor = Color.White
            rc_CSMD_Average_Response_Time.PlotArea.Appearance.FillStyle.FillType = Styles.FillType.Gradient
            rc_CSMD_Average_Response_Time.Appearance.FillStyle.MainColor = Color.White
            rc_CSMD_Average_Response_Time.Appearance.FillStyle.SecondColor = Color.White
            rc_CSMD_Average_Response_Time.Appearance.FillStyle.FillType = Styles.FillType.Gradient
            rc_CSMD_Average_Response_Time.PlotArea.YAxis.AxisMode = ChartYAxisMode.Extended
Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
Gimmik
Top achievements
Rank 1
prayag ganoje
Top achievements
Rank 1
Share this question
or