示例#1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Series{T}"/> class.
        /// </summary>
        public Series(SeriesType type, SeriesDirection direction, bool isColumnOrRow)
        {
            seriesType         = type;
            this.direction     = direction;
            this.isColumnOrRow = isColumnOrRow;
            var t = typeof(TModel);

            implementsINPC = typeof(INotifyPropertyChanged).IsAssignableFrom(t);
            implementsICC  = typeof(ICartesianCoordinate).IsAssignableFrom(t);
            isValueType    = t.IsValueType;
        }
示例#2
0
 public Stacker(SeriesDirection direction)
 {
     this.direction = direction;
 }