| control.Region(n).Grid.Left/Top/Width/Height | ||
| Type: | Long |
| Purpose: | Sets the left corner / the top corner / the width or the height of the grid in pixel. |
| Default: | 0. |
| Accessible: | Runtime |
| Remarks: | Normally there is no need to define the grid's
Left, Top, Width and Height. RMChart calculates the boundary of the grid,
if these properties are omitted, depending of the region's size, the caption's and the legend's size, the size of the axis
labels and so on. This should be the preferred way because it assures that everything fits together.
|
| Example: | RMChartX1.AddRegion
RMChartX1.Region(1).AddGrid RMChartX1.Region(1).Grid.Left = 10 RMChartX1.Region(1).Grid.Top = 20 RMChartX1.Region(1).Grid.Width = 400 RMChartX1.Region(1).Grid.Height = 300 |