Example #1
0
        internal SLDataSeriesOptions Clone()
        {
            var dso = new SLDataSeriesOptions(ShapeProperties.listThemeColors);

            dso.ShapeProperties  = ShapeProperties.Clone();
            dso.InvertIfNegative = InvertIfNegative;
            dso.Marker           = Marker.Clone();
            dso.iExplosion       = iExplosion;
            dso.bBubble3D        = bBubble3D;
            dso.Smooth           = Smooth;
            dso.vShape           = vShape;

            return(dso);
        }
        internal SLDataSeries(List <Color> ThemeColors)
        {
            ChartType = SLDataSeriesChartType.None;

            Index = 0;
            Order = 0;

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

            Options = new SLDataSeriesOptions(ThemeColors);

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

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

            BubbleSize = new SLNumberDataSourceType();

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