Chart Grid
RadChartView areas, which support axes, can render a grid that facilitate the process of determining the values of points afar from the axes. Since Pie area does not use axes, the grid is valid only the context of Cartesian and Polar areas. Here is how to set up the grid of both areas:
Cartesian Grid
Figure 1: Cartesian Grid
The essential properties of CartesianGrid are the following:
ForeColor: The property determines the color of the lines that separate grid sectors.
BorderDashStyle: The property indicates the style of the borders. Possible values are Solid, Dash, Dot, DashDot, DashDotDot, Custom.
DrawHorizontalStripes: The property determines whether the horizontal borders of the grid will be rendered.
DrawVerticalStripes: The property determines whether the vertical borders of the grid will be rendered.
DrawHorizontalFills: The property indicates whether the fills of the horizontal sectors will be drawn.
DrawVerticalFills: The property indicates whether the fills of the vertical sectors will be drawn.
BackColor: The property sets the color of the horizontal sectors. The property takes effect only if DrawHorizontalFills are set to true.
BackColor2: The property sets the color of the vertical sectors. The property takes effect only if DrawVerticalFills are set to true.
AlternatingVerticalColor: This is a Boolean property that determines whether the fill of the alternating vertical sectors will be drawn. The property takes effect only when the DrawVerticalFills is set to true.
AlternatingBackColor: The property sets the color of the fill of the alternating vertical sectors. The property takes effect only when the AlternatingVerticalColor and DrawVerticalFills properties are set to true.
AlternatingHorizontalColor: This is a Boolean property that determines whether the fill of the alternating horizontal sectors will be drawn. The property takes effect only when the DrawHorizontalFills is set to true.
AlternatingBackColor2: The property sets the color of the fill of the alternating horizontal sectors. The property takes effect only when the AlternatingHorizontalColor and DrawHorizontalFills properties are set to true.
BorderWidth: The property sets the width of the grid lines.
Polar Grid
Figure 2: Polar Grid
The essential properties of PolarGrid are the following:
ForeColor: The property determines the color of the lines that separate grid sectors.
BorderDashStyle: The property indicates the style of the borders. Possible values are Solid, Dash, Dot, DashDot, DashDotDot, Custom.
DrawPolarStripes: The property determines whether the polar borders of the grid will be rendered.
DrawRadialStripes: The property determines whether the radial borders of the grid will be rendered.
DrawPolarFills: The property determines whether the fills of the polar sectors will be drawn.
DrawRadialFills: The property indicates whether the fills of the radial sectors will be drawn.
BackColor: The property sets the color of the polar sectors. The property takes effect only in the DrawPolarFills is set to true.
BackColor2: The property sets the color of the radial sectors. The property takes effect only in the DrawRadialFills is set to true.
AlternatingPolarColor: The property indicates whether the fill of the alternating polar sectors will be drawn. The property takes effect only when DrawPolarFills is set to true.
AlternatingRadialColor: The property indicates whether the fill of the alternating radial sectors will be drawn. The property takes effect only when DrawRadialFills is set to true.
AlternatingBackColor: The property sets the color of the alternating polar sectors. The property takes effect only when DrawPolarFills and AlternatingPolarColor are set to true.
AlternatingBackColor2: The property sets the color of the alternating radial sectors. The property takes effect only when DrawRadialFills and AlternatingRadialColor are set to true.