This property is available when the SeriesBase.ArgumentScaleType is set to either Auto or Numeric, the SeriesBase.ValueScaleType property is set to Numeric, and the ScaleOptionsBase.ScaleMode property is set to Manual.
NumericScaleOptions.MeasureUnit = Thousands |
NumericScaleOptions.MeasureUnit = Hundreds |
 |
 |
To define a numeric measurement unit to which the beginning of a diagram's gridlines and labels should be aligned, use the GridAlignment property.

Example
This example shows how to use NumericScaleOptions to reduce the number of visible series points.

The following code configures the axis scale settings to resemble to the chart appearance above:
C# |
NumericScaleOptions numericScaleOptions = ((XYDiagram)chartControl.Diagram).AxisX.NumericScaleOptions;
numericScaleOptions.ScaleMode = ScaleMode.Manual;
numericScaleOptions.MeasureUnit = NumericMeasureUnit.Hundreds;
numericScaleOptions.GridOffset = 5;
numericScaleOptions.AggregateFunction = AggregateFunction.Average;
numericScaleOptions.GridAlignment = NumericGridAlignment.Thousands;
numericScaleOptions.GridSpacing = 1;
|
VB |
Dim numericScaleOptions As NumericScaleOptions = CType(chartControl.Diagram,XYDiagram).AxisX.NumericScaleOptions
numericScaleOptions.ScaleMode = ScaleMode.Manual
numericScaleOptions.MeasureUnit = NumericMeasureUnit.Hundreds
numericScaleOptions.GridOffset = 5
numericScaleOptions.AggregateFunction = AggregateFunction.Average
numericScaleOptions.GridAlignment = NumericGridAlignment.Thousands
numericScaleOptions.GridSpacing = 1
|
The following table lists the API members the code above uses: