How to Change RadChartView Grid Background Color

2 posts, 0 answers
  1. Bahman
    Bahman avatar
    4 posts
    Member since:
    May 2018

    Posted 15 May 2018 Link to this post

     Hi, how do I change the background color of the grid in radgridview in windows form?
    And how do I remove points from the line?
  2. Dimitar
    Dimitar avatar
    2959 posts

    Posted 16 May 2018 Link to this post

    Hi Bahman,

    I believe that you are using RadChartView not RadGridView. In this case, you can use the following code to remove the BackColor and change the lines style:
    CartesianArea area = this.radChartView1.GetArea<CartesianArea>();
    area.ShowGrid = true;
    CartesianGrid grid = area.GetGrid<CartesianGrid>();
    grid.DrawHorizontalFills = false;
    grid.DrawVerticalFills = false;
    grid.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;

    I hope this will be useful. Let me know if you have additional questions.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top