ChartRangeControlClientGridMode Enum
Lists the values used to specify the grid mode for a chart range control client.
Namespace: DevExpress.XtraCharts
Assembly:
DevExpress.XtraCharts.v18.1.dll
Declaration
[TypeConverter(typeof(EnumTypeConverter))]
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum ChartRangeControlClientGridMode
<ResourceFinder(GetType(XtraChartsResFinder), "PropertyNamesRes")>
<TypeConverter(GetType(EnumTypeConverter))>
Public Enum ChartRangeControlClientGridMode
Members
Name |
Description |
Auto
|
Identifies the auto grid mode of the chart range control client, in which the values of ChartRangeControlClientGridOptions.GridSpacing, ChartRangeControlClientGridOptions.GridOffset, and ChartRangeControlClientDateTimeGridOptions.GridAlignment properties are not specified and calculated automatically.
|
ChartGrid
|
Identifies the chart grid mode of the chart range control client, in which the ChartRangeControlClientGridOptions.GridSpacing, ChartRangeControlClientDateTimeGridOptions.GridAlignment, ChartRangeControlClientGridOptions.GridOffset properties are not specified and calculated according to the ScaleGridOptionsBase.GridSpacing and DateTimeScaleOptions.GridAlignment (NumericScaleOptions.GridAlignment), ScaleGridOptionsBase.GridOffset properties, correspondingly.
For example, in the image below, the DateTimeScaleOptions.GridAlignment property is set to Week, ScaleGridOptionsBase.GridSpacing = 1.
|
Manual
|
Identifies the manual grid mode of the chart range control client, meaning that the ChartRangeControlClientGridOptions.GridSpacing, ChartRangeControlClientGridOptions.GridOffset and ChartRangeControlClientDateTimeGridOptions.GridAlignment properties are in effect, and they should be manually defined.
For example, in the image below, the ChartRangeControlClientGridOptions.GridSpacing property is set to 4, and ChartRangeControlClientDateTimeGridOptions.GridAlignment is set to Day.
|
Related API Members
The following properties accept/return ChartRangeControlClientGridMode values:
The values listed by the ChartRangeControlClientGridMode enumeration are used to set the ChartRangeControlClientGridOptions.GridMode property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ChartRangeControlClientGridMode enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
See Also