internal C.SurfaceChartSeries ToSurfaceChartSeries(bool IsStylish = false) { C.SurfaceChartSeries scs = new C.SurfaceChartSeries(); scs.Index = new C.Index() { Val = this.Index }; scs.Order = new C.Order() { Val = this.Order }; if (this.IsStringReference != null) { scs.SeriesText = new C.SeriesText(); if (this.IsStringReference.Value) { scs.SeriesText.StringReference = this.StringReference.ToStringReference(); } else { scs.SeriesText.NumericValue = new C.NumericValue(this.NumericValue); } } if (this.Options.ShapeProperties.HasShapeProperties) { scs.ChartShapeProperties = this.Options.ShapeProperties.ToChartShapeProperties(IsStylish); } scs.Append(this.AxisData.ToCategoryAxisData()); scs.Append(this.NumberData.ToValues()); return(scs); }
internal C.SurfaceChartSeries ToSurfaceChartSeries(bool IsStylish = false) { C.SurfaceChartSeries scs = new C.SurfaceChartSeries(); scs.Index = new C.Index() { Val = this.Index }; scs.Order = new C.Order() { Val = this.Order }; if (this.IsStringReference != null) { scs.SeriesText = new C.SeriesText(); if (this.IsStringReference.Value) { scs.SeriesText.StringReference = this.StringReference.ToStringReference(); } else { scs.SeriesText.NumericValue = new C.NumericValue(this.NumericValue); } } if (this.Options.ShapeProperties.HasShapeProperties) { scs.ChartShapeProperties = this.Options.ShapeProperties.ToChartShapeProperties(IsStylish); } scs.Append(this.AxisData.ToCategoryAxisData()); scs.Append(this.NumberData.ToValues()); return scs; }