Exemple #1
0
 internal void Init()
 {
     this.data            = null;
     this.group           = null;
     this.dataReference   = null;
     this.dataOrientation = Dt.Cells.Data.DataOrientation.Vertical;
     this.Row             = 0;
     this.Column          = 0;
     this.cachedFormula   = null;
 }
Exemple #2
0
 internal void Init()
 {
     this.setting               = null;
     this.innerList             = null;
     this.sparklineType         = Dt.Cells.Data.SparklineType.Line;
     this.dateAxisData          = null;
     this.dateAxisReference     = null;
     this.axisOrientation       = DataOrientation.Vertical;
     this.SparklineGroupManager = null;
     this.cachedFormula         = null;
 }
Exemple #3
0
        void GetMaxMinValues(Sparkline sparkline, out double max, out double min)
        {
            max = double.MinValue;
            min = double.MaxValue;
            ISparklineData data = sparkline.Data;

            if (data != null)
            {
                for (int i = 0; i < data.Count; i++)
                {
                    object obj2 = data.GetValue(i);
                    if (obj2 is double)
                    {
                        double num2 = (double)((double)obj2);
                        max = (max < num2) ? num2 : max;
                        min = (min > num2) ? num2 : min;
                    }
                }
            }
        }