예제 #1
0
 internal void SetFixedType(Dt.Charts.AxisType type)
 {
     _axType    = type;
     _fixedType = true;
     if (MajorGridStrokeThickness == 0.0)
     {
         MajorGridStrokeThickness = 0.5;
     }
     if (MajorGridStroke == null)
     {
         MajorGridStroke = new SolidColorBrush(Colors.DarkGray);
     }
 }
예제 #2
0
 internal Axis(Dt.Charts.AxisType atype) : base(null)
 {
     _axType        = Dt.Charts.AxisType.Y;
     _minScale      = 1E-05;
     Change         = 0.5;
     _isTime        = null;
     IsValidFmt     = true;
     IsValidTimeFmt = true;
     notify         = true;
     _tmpValue      = double.NaN;
     _tmpScale      = double.NaN;
     base._axis     = this;
     iax            = this;
     _axType        = atype;
 }