Search Results for

    Show / Hide Table of Contents

    Struct Scale.Default

    A simple struct that defines the default property values for the Scale class.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: ZedGraph
    Assembly: ZedGraph.dll
    Syntax
    public struct Default

    Fields

    | Improve this Doc View Source

    Align

    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 Align
    Field Value
    Type Description
    AlignP
    See Also
    AlignP
    | Improve this Doc View Source

    AlignH

    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 AlignH
    Field Value
    Type Description
    AlignH
    See Also
    AlignH
    | Improve this Doc View Source

    EdgeTolerance

    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 EdgeTolerance
    Field 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.

    | Improve this Doc View Source

    FillBrush

    The default custom brush for filling in the scale text background (see Brush property).

    Declaration
    public static Brush FillBrush
    Field Value
    Type Description
    Brush
    | Improve this Doc View Source

    FillColor

    The default color for filling in the scale text background (see Color property).

    Declaration
    public static Color FillColor
    Field Value
    Type Description
    Color
    | Improve this Doc View Source

    FillType

    The default fill mode for filling in the scale text background (see Type property).

    Declaration
    public static FillType FillType
    Field Value
    Type Description
    FillType
    | Improve this Doc View Source

    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 FontBold
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    FontColor

    The default font color for the Axis scale values font specification FontSpec (FontColor property).

    Declaration
    public static Color FontColor
    Field Value
    Type Description
    Color
    | Improve this Doc View Source

    FontFamily

    The default font family for the Axis scale values font specification FontSpec (Family property).

    Declaration
    public static string FontFamily
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    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 FontItalic
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    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 FontSize
    Field Value
    Type Description
    Single
    | Improve this Doc View Source

    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 FontUnderline
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    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 Format
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    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 FormatDayDay
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatDayHour

    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 FormatDayHour
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatHourHour

    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 FormatHourHour
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatHourMinute

    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 FormatHourMinute
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatMillisecond

    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 FormatMillisecond
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatMinuteMinute

    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 FormatMinuteMinute
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatMinuteSecond

    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 FormatMinuteSecond
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatMonthMonth

    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 FormatMonthMonth
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatSecondSecond

    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 FormatSecondSecond
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatYearMonth

    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 FormatYearMonth
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    FormatYearYear

    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 FormatYearYear
    Field Value
    Type Description
    String
    See Also
    DateTimeFormatInfo
    | Improve this Doc View Source

    IsLabelsInside

    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 IsLabelsInside
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    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 IsReverse
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsVisible

    The default value for IsVisible, which determines whether or not the scale values are displayed.

    Declaration
    public static bool IsVisible
    Field Value
    Type Description
    Boolean
    | Improve this Doc View Source

    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 LabelGap
    Field Value
    Type Description
    Single
    | Improve this Doc View Source

    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 MaxGrace
    Field Value
    Type Description
    Double
    See Also
    MinGrace
    MaxGrace
    | Improve this Doc View Source

    MaxTextLabels

    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 MaxTextLabels
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 MinGrace
    Field Value
    Type Description
    Double
    See Also
    MinGrace
    | Improve this Doc View Source

    RangeDayDay

    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 RangeDayDay
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeDayHour
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeHourHour
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeHourMinute
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeMinuteMinute
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeMinuteSecond
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeMonthMonth
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeSecondSecond
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeYearMonth
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 RangeYearYear
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 TargetMinorXSteps
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 TargetMinorYSteps
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 TargetXSteps
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 TargetYSteps
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    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 ZeroLever
    Field Value
    Type Description
    Double
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX