Example #1
0
        internal SLNumberDataSourceType Clone()
        {
            SLNumberDataSourceType ndst = new SLNumberDataSourceType();

            ndst.bUseNumberReference = this.bUseNumberReference;
            ndst.NumberReference     = this.NumberReference.Clone();
            ndst.bUseNumberLiteral   = this.bUseNumberLiteral;
            ndst.NumberLiteral       = this.NumberLiteral.Clone();

            return(ndst);
        }
Example #2
0
        internal SLDataSeries(List <System.Drawing.Color> ThemeColors)
        {
            this.ChartType = SLDataSeriesChartType.None;

            this.Index = 0;
            this.Order = 0;

            this.IsStringReference = null;
            this.StringReference   = new SLStringReference();
            this.NumericValue      = string.Empty;

            this.Options = new SLDataSeriesOptions(ThemeColors);

            this.DataPointOptionsList = new Dictionary <int, SLDataPointOptions>();

            this.GroupDataLabelOptions = null;
            this.DataLabelOptionsList  = new Dictionary <int, SLDataLabelOptions>();

            this.BubbleSize = new SLNumberDataSourceType();

            this.AxisData   = new SLAxisDataSourceType();
            this.NumberData = new SLNumberDataSourceType();
        }