Skip to content
Thomas Möller edited this page Apr 12, 2024 · 9 revisions

Class name

Grid

Purpose / Description

This class contains methods and properties related to the grid.

Methods

  • none

Properties


Detailed description

The following sections contain a detailed description of the methods and properties.

Circular

Description:

With this property you can specify if the gridlines of a radial axis are round or square.
This property only has effect on radial axis.

Default value:

False

Sample code:

myChart.Chart.RadialAxis.Grid.Circular= True

Related to:

--

Color

Description:

With this property you can specify the color of the gridlines. By default, the color is grey.

You can specify the background color in four ways:

  • rgba-code: rgba(77,22,66,0.5)
  • rgb-code: rgb(128,255,73)
  • hex-code: #FF77A1
  • color name: green

Default value:

{empty}, which leads to grey

Sample code:

myChart.Chart.XAxis.Grid.Color = "red"

Related to:

--

LineWidth

Description:

With this property you can specify the width of the gridlines

Default value:

1

Sample code:

myChart.Chart.YAxis.Grid.LineWidth = 2

Related to:

--

Show

Description:

With this property you can specify, if the grid lines for the axis are shown.

Default value:

True

Sample code:

myChart.Chart.RadialAxis.Grid.Show = True

Related to:

--