Struct Scale.Default
A simple struct that defines the default property values for the Scale class.
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public struct DefaultFields
| Improve this Doc View SourceAlign
The default alignment of the Axis tic labels. This value controls whether the inside, center, or outside edges of the text labels are aligned.
Declaration
public static AlignP AlignField Value
| Type | Description | 
|---|---|
| AlignP | 
See Also
| Improve this Doc View SourceAlignH
The default alignment of the Axis tic labels. This value controls whether the left, center, or right edges of the text labels are aligned.
Declaration
public static AlignH AlignHField Value
| Type | Description | 
|---|---|
| AlignH | 
See Also
| Improve this Doc View SourceEdgeTolerance
Determines the size of the band at the beginning and end of the axis that will have labels omitted if the axis is shifted due to a non-default location using the Cross property.
Declaration
public static float EdgeToleranceField Value
| Type | Description | 
|---|---|
| Single | 
Remarks
This parameter applies only when CrossAuto is false. It is scaled according to the size of the graph based on BaseDimension. When a non-default axis location is selected, the first and last labels on that axis will overlap the opposing axis frame. This parameter allows those labels to be omitted to avoid the overlap. Set this parameter to zero to turn off the effect.
FillBrush
The default custom brush for filling in the scale text background (see Brush property).
Declaration
public static Brush FillBrushField Value
| Type | Description | 
|---|---|
| Brush | 
FillColor
The default color for filling in the scale text background (see Color property).
Declaration
public static Color FillColorField Value
| Type | Description | 
|---|---|
| Color | 
FillType
The default fill mode for filling in the scale text background (see Type property).
Declaration
public static FillType FillTypeField Value
| Type | Description | 
|---|---|
| FillType | 
FontBold
The default font bold mode for the Axis scale values font specification FontSpec (IsBold property). true for a bold typeface, false otherwise.
Declaration
public static bool FontBoldField Value
| Type | Description | 
|---|---|
| Boolean | 
FontColor
Declaration
public static Color FontColorField Value
| Type | Description | 
|---|---|
| Color | 
FontFamily
Declaration
public static string FontFamilyField Value
| Type | Description | 
|---|---|
| String | 
FontItalic
The default font italic mode for the Axis scale values font specification FontSpec (IsItalic property). true for an italic typeface, false otherwise.
Declaration
public static bool FontItalicField Value
| Type | Description | 
|---|---|
| Boolean | 
FontSize
The default font size for the Axis scale values font specification FontSpec (Size property). Units are in points (1/72 inch).
Declaration
public static float FontSizeField Value
| Type | Description | 
|---|---|
| Single | 
FontUnderline
The default font underline mode for the Axis scale values font specification FontSpec (IsUnderline property). true for an underlined typeface, false otherwise.
Declaration
public static bool FontUnderlineField Value
| Type | Description | 
|---|---|
| Boolean | 
Format
The default setting for the Axis scale format string (Format property). For numeric values, this value is setting according to the Format(String, Object) format strings. For date type values, this value is set as per the ToString() function.
Declaration
public static string FormatField Value
| Type | Description | 
|---|---|
| String | 
FormatDayDay
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Day for MajorUnit and Day for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatDayDayField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatDayHour
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Day for MajorUnit and Hour for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatDayHourField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatHourHour
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Hour for MajorUnit and Hour for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatHourHourField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatHourMinute
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Hour for MajorUnit and Minute for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatHourMinuteField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatMillisecond
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Millisecond for MajorUnit and Millisecond for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatMillisecondField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatMinuteMinute
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Minute for MajorUnit and Minute for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatMinuteMinuteField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatMinuteSecond
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Minute for MajorUnit and Second for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatMinuteSecondField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatMonthMonth
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Month for MajorUnit and Month for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatMonthMonthField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatSecondSecond
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Second for MajorUnit and Second for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatSecondSecondField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatYearMonth
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Year for MajorUnit and Month for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatYearMonthField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceFormatYearYear
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. This is the format used for the scale values when auto-ranging code selects a Format of Year for MajorUnit and Year for for MinorUnit. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static string FormatYearYearField Value
| Type | Description | 
|---|---|
| String | 
See Also
| Improve this Doc View SourceIsLabelsInside
The default value for IsLabelsInside, which determines whether or not the scale labels and title for the Axis will appear on the opposite side of the Axis that it normally appears.
Declaration
public static bool IsLabelsInsideField Value
| Type | Description | 
|---|---|
| Boolean | 
IsReverse
The default reverse mode for the Axis scale (IsReverse property). true for a reversed scale (X decreasing to the left, Y/Y2 decreasing upwards), false otherwise.
Declaration
public static bool IsReverseField Value
| Type | Description | 
|---|---|
| Boolean | 
IsVisible
The default value for IsVisible, which determines whether or not the scale values are displayed.
Declaration
public static bool IsVisibleField Value
| Type | Description | 
|---|---|
| Boolean | 
LabelGap
The default setting for the gap between the outside tics (or the axis edge if there are no outside tics) and the scale labels, expressed as a fraction of the major tic size.
Declaration
public static float LabelGapField Value
| Type | Description | 
|---|---|
| Single | 
MaxGrace
The default "grace" value applied to the maximum data range. This value is expressed as a fraction of the total data range. For example, assume the data range is from 4.0 to 16.0, leaving a range of 12.0. If MaxGrace is set to 0.1, then 10% of the range, or 1.2 will be added to the maximum data value. The scale will then be ranged to cover at least 4.0 to 17.2.
Declaration
public static double MaxGraceField Value
| Type | Description | 
|---|---|
| Double | 
See Also
| Improve this Doc View SourceMaxTextLabels
The maximum number of text labels (major tics) that will be allowed on the plot by the automatic scaling logic. This value applies only to Text axes. If there are more than MaxTextLabels on the plot, then MajorStep will be increased to reduce the number of labels. That is, the step size might be increased to 2.0 to show only every other label.
Declaration
public static double MaxTextLabelsField Value
| Type | Description | 
|---|---|
| Double | 
MinGrace
The default "grace" value applied to the minimum data range. This value is expressed as a fraction of the total data range. For example, assume the data range is from 4.0 to 16.0, leaving a range of 12.0. If MinGrace is set to 0.1, then 10% of the range, or 1.2 will be subtracted from the minimum data value. The scale will then be ranged to cover at least 2.8 to 16.0.
Declaration
public static double MinGraceField Value
| Type | Description | 
|---|---|
| Double | 
See Also
| Improve this Doc View SourceRangeDayDay
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Day and MinorUnit = Day. This value normally defaults to 10 days. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeDayDayField Value
| Type | Description | 
|---|---|
| Double | 
RangeDayHour
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Day and MinorUnit = Hour. This value normally defaults to 3 days. This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeDayHourField Value
| Type | Description | 
|---|---|
| Double | 
RangeHourHour
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Hour and MinorUnit = Hour. This value normally defaults to 0.4167 days (10 hours). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeHourHourField Value
| Type | Description | 
|---|---|
| Double | 
RangeHourMinute
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Hour and MinorUnit = Minute. This value normally defaults to 0.125 days (3 hours). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeHourMinuteField Value
| Type | Description | 
|---|---|
| Double | 
RangeMinuteMinute
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Minute and MinorUnit = Minute. This value normally defaults to 6.94e-3 days (10 minutes). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeMinuteMinuteField Value
| Type | Description | 
|---|---|
| Double | 
RangeMinuteSecond
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Minute and MinorUnit = Second. This value normally defaults to 2.083e-3 days (3 minutes). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeMinuteSecondField Value
| Type | Description | 
|---|---|
| Double | 
RangeMonthMonth
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Month and MinorUnit = Month. This value normally defaults to 300 days (10 months). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeMonthMonthField Value
| Type | Description | 
|---|---|
| Double | 
RangeSecondSecond
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Second and MinorUnit = Second. This value normally defaults to 3.472e-5 days (3 seconds). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeSecondSecondField Value
| Type | Description | 
|---|---|
| Double | 
RangeYearMonth
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Year and MinorUnit = Month. This value normally defaults to 730 days (2 years). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeYearMonthField Value
| Type | Description | 
|---|---|
| Double | 
RangeYearYear
A default setting for the Date auto-ranging code. This values applies only to Date-Time type axes. If the total span of data exceeds this number (in days), then the auto-range code will select MajorUnit = Year and MinorUnit = Year. This value normally defaults to 1825 days (5 years). This value is used by the ZedGraph.DateScale.CalcDateStepSize(System.Double,System.Double) method.
Declaration
public static double RangeYearYearField Value
| Type | Description | 
|---|---|
| Double | 
TargetMinorXSteps
The default target number of minor steps for automatically selecting the X axis scale minor step size (see PickScale(GraphPane, Graphics, Single)). This number is an initial target value for the number of minor steps on an axis. This value is maintained only in the Scale.Default class, and cannot be changed after compilation.
Declaration
public static double TargetMinorXStepsField Value
| Type | Description | 
|---|---|
| Double | 
TargetMinorYSteps
The default target number of minor steps for automatically selecting the Y or Y2 axis scale minor step size (see PickScale(GraphPane, Graphics, Single)). This number is an initial target value for the number of minor steps on an axis. This value is maintained only in the Scale.Default class, and cannot be changed after compilation.
Declaration
public static double TargetMinorYStepsField Value
| Type | Description | 
|---|---|
| Double | 
TargetXSteps
The default target number of steps for automatically selecting the X axis scale step size (see PickScale(GraphPane, Graphics, Single)). This number is an initial target value for the number of major steps on an axis. This value is maintained only in the Scale.Default class, and cannot be changed after compilation.
Declaration
public static double TargetXStepsField Value
| Type | Description | 
|---|---|
| Double | 
TargetYSteps
The default target number of steps for automatically selecting the Y or Y2 axis scale step size (see PickScale(GraphPane, Graphics, Single)). This number is an initial target value for the number of major steps on an axis. This value is maintained only in the Scale.Default class, and cannot be changed after compilation.
Declaration
public static double TargetYStepsField Value
| Type | Description | 
|---|---|
| Double | 
ZeroLever
The default "zero lever" for automatically selecting the axis scale range (see PickScale(GraphPane, Graphics, Single)). This number is used to determine when an axis scale range should be extended to include the zero value. This value is maintained only in the Scale.Default class, and cannot be changed after compilation.
Declaration
public static double ZeroLeverField Value
| Type | Description | 
|---|---|
| Double |