internal SLAxisDataSourceType() { UseStringReference = true; MultiLevelStringReference = new SLMultiLevelStringReference(); NumberReference = new SLNumberReference(); NumberLiteral = new SLNumberLiteral(); StringReference = new SLStringReference(); StringLiteral = new SLStringLiteral(); }
internal SLStringReference Clone() { var sr = new SLStringReference(); sr.WorksheetName = WorksheetName; sr.StartRowIndex = StartRowIndex; sr.StartColumnIndex = StartColumnIndex; sr.EndRowIndex = EndRowIndex; sr.EndColumnIndex = EndColumnIndex; sr.Formula = Formula; sr.PointCount = PointCount; for (var i = 0; i < Points.Count; ++i) { sr.Points.Add(Points[i].Clone()); } return(sr); }
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(); }